jp (core): added EXIT_NOT_FOUND constant, which return 16 as exit code
This commit is contained in:
parent
6395a46e87
commit
fce13b52f8
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ class Const(constants.Const):
|
|||
EXIT_OK = 0
|
||||
EXIT_ERROR = 1 # generic error, when nothing else match
|
||||
EXIT_BAD_ARG = 2 # arguments given by user are bad
|
||||
EXIT_NOT_FOUND = 16 # an item required by a command was not found
|
||||
EXIT_FILE_NOT_EXE = 126 # a file to be executed was found, but it was not an executable utility (cf. man 1 exit)
|
||||
EXIT_CMD_NOT_FOUND = 127 # a utility to be executed was not found (cf. man 1 exit)
|
||||
EXIT_SIGNAL_INT = 128 # a command was interrupted by a signal (cf. man 1 exit)
|
||||
|
|
|
|||
Loading…
Reference in a new issue