6. Exit Codes

When SLB terminates, it reports the result of its invocation in form of exit code. Exit code of 0 indicates normal termination. Non-zero exit codes indicate some kind of error. In this case the exact cause of failure will be reported on the currently selected logging channel.

The exit codes are as follows:

0 (EX_OK)

Normal termination.

64 (EX_USAGE)

The program was invoked incorrectly.

65 (EX_DATAERR)

Input data were invalid or malformed. This error code is returned only when slb is used with ‘--test’ or ‘--eval’ options (see section Test Mode).

69 (EX_UNAVAILABLE)

Some error occurred. For example, the program was unable to open output file, etc.

70 (EX_SOFTWARE)

Internal software error. This usually means hitting a bug in the program, so please report it (see section How to Report a Bug).

98 (EX_CONFIG)

Program terminated due to errors in configuration file.