/etc/init.d/functions: printstatus bug?

Matthias Benkmann mbenkmann at gmx.de
Fri Dec 8 15:38:46 PST 2000


The function printstatus in /etc/init.d/functions contains the command 
"exit 1". I think that should be "return 1", otherwise calling printstatus 
in a script with incorrect usage would terminate the whole script which is 
a rather harsh reaction, considering that printstatus is a non-essential 
informative function that does not really affect the script.

MSB

----
God is real, unless declared integer.


-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list