Package: initscripts
Version: 2.87dsf-8
Severity: wishlist
File: /etc/init.d/hostname.sh

One notices you do

  status)
        do_status
        echo $?
        ;; #...
esac

:


Well, how are you going to return the correct value if you always exit
0? Not only do you need to echo the value, you should exit with it too.

That way, e.g.,
# /usr/sbin/service --status-all
will work correctly.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to