Next: , Previous: shar config, Up: shar Invocation


2.1.11 shar exit status

One of the following exit values will be returned:

0 (EXIT_SUCCESS)
Successful program execution.
1 (EXIT_OPTION_ERROR)
The command options were misconfigured.
2 (EXIT_FILE_NOT_FOUND)
a specified input could not be found
3 (EXIT_CANNOT_OPENDIR)
open/close of specified directory failed
4 (EXIT_FAILED)
Resource limit/miscelleaneous shar command failure
63 (EXIT_BUG)
There is a shar command bug. Please report it.
66 (EX_NOINPUT)
A specified configuration file could not be loaded.
70 (EX_SOFTWARE)
libopts had an internal operational error. Please report it to autogen-users@lists.sourceforge.net. Thank you.