[Pkg-sysvinit-devel] Re: Fixing hwclock.sh

Thomas Hood jdthood at yahoo.co.uk
Fri Jan 6 15:23:52 UTC 2006


I wrote:
> We should get a check added to lintian.
> 
>    * Error if any /etc/init.d/*.sh script does an "exit" or "set -e"


If we add a "trap EXIT" then this should be a warning.

Currently several of our .sh initscripts "exit" when given illegal arguments.
Probably it would be best if they didn't do that.
-- 
Thomas



More information about the Pkg-sysvinit-devel mailing list