in reply to exit EXPR
You got it backwards. In UNIX, exit(0) means success while any other exit value is false. Usually different status number indicate different errors. For example exit(1) if you cannot open a file, and exit(2) if network unreachable, and so on.
Hope this helps,,,
Aziz,,,
|
|---|