On Wed, Oct 29, 2003 at 03:57:31PM +1300, CF wrote:
> >     exit 0

> exit 0 means an exit code of 0, which to most programs means "sucessful
> completion"  Perhaps you want exit 1 here and exit 2 below ...  

It's not a good idea to pull exit codes out of thin air.  Use a
semi-standardized exit code from sysexits.h if possible, or at least
make sure you're not using a reserved exit code[0].

[0] http://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to