[Pkg-sysvinit-devel] Bug#339955: sysv-rc: /etc/init.d/*.sh should be sourced in runlevel S

Thomas Hood jdthood at yahoo.co.uk
Mon Nov 21 08:55:22 UTC 2005


Brendan O'Dea wrote:
> there are quite a few instances in /etc/init.d/*.sh scripts where "exit" is
> called.


All the exit commands are either (1) at the end of usage exception sections,
or (2) preceded by colons ':'.  Testing suggests that a ": exit 0" does the
same as ":", namely, nothing.

Miquel: What is the purpose of those ": exit 0" commands?  Do they have an
effect under some conditions?

-- 
Thomas Hood




More information about the Pkg-sysvinit-devel mailing list