avahi/avahi-init-dnsconfd-fix-status.patch

26 lines
721 B
Diff
Raw Normal View History

From bd76c886b4bd44abad745b4b3c4bb99fe752c8f0 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@opensuse.org>
Date: Wed, 13 Oct 2010 16:36:35 +0200
Subject: [PATCH] init: suse, avahi-dnsconfd status reports dead instead of unused
---
initscript/suse/avahi-dnsconfd.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/initscript/suse/avahi-dnsconfd.in b/initscript/suse/avahi-dnsconfd.in
index e633b8d..4169737 100644
--- a/initscript/suse/avahi-dnsconfd.in
+++ b/initscript/suse/avahi-dnsconfd.in
@@ -37,7 +37,7 @@ case "$1" in
;;
status)
echo -n "Checking for Avahi DNS Configuration daemon: "
- $AVAHI_BIN -c
+ $AVAHI_BIN -c || _rc_status=3
rc_status -v
;;
*)
--
1.7.3.1