]> git.meshlink.io Git - catta/commitdiff
init: suse, status reports dead instead of unused when stopped
authorLennart Poettering <lennart@poettering.net>
Sat, 14 Nov 2009 01:02:43 +0000 (02:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 14 Nov 2009 01:04:26 +0000 (02:04 +0100)
Original patch from the Suse guys.

http://avahi.org/ticket/283

initscript/suse/avahi-daemon.in

index e1fd20101dc7df690bbb0125f368aef5b9258c0c..851006cf722480fba03398ea8d532f424ff74ce2 100644 (file)
@@ -37,7 +37,7 @@ case "$1" in
                ;;
        status)
                echo -n "Checking for Avahi daemon: "
-               $AVAHI_BIN -c
+               $AVAHI_BIN -c || _rc_status=3
                rc_status -v
                ;;
        *)