init: suse, avahi-dnsconfd status reports dead instead of unused
authorVincent Untz <vuntz@opensuse.org>
Wed, 13 Oct 2010 14:36:35 +0000 (16:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Mar 2011 21:31:08 +0000 (22:31 +0100)
initscript/suse/avahi-dnsconfd.in

index 51100e3..b88660b 100644 (file)
@@ -50,7 +50,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
                ;;
        *)