[Pkg-sysvinit-devel] Bug#567074: /etc/init.d/rmnologin status exit value always 0

jidanni at jidanni.org jidanni at jidanni.org
Wed Jan 27 01:12:45 UTC 2010


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

How are you going to return the correct exit value to scripts like
/usr/sbin/service --status-all when you only echo the value, but not
exit with it?

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

:

See also /etc/init.d/skeleton.





More information about the Pkg-sysvinit-devel mailing list