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

Gerard Beekmans gerard at linuxfromscratch.org
Mon Dec 11 12:35:15 PST 2000


On December  8, 2000 06:38 pm, you wrote:
> 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.

Good point there. Consider it fixed.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
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