changeset 2073:3d633458d962

jp (core): added EXIT_NOT_FOUND constant, which return 16 as exit code
author Goffi <goffi@goffi.org>
date Tue, 13 Sep 2016 22:03:45 +0200 (2016-09-13)
parents 11fb5f5e2f89
children db5cda61740f
files frontends/src/jp/constants.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/constants.py	Tue Sep 13 22:02:52 2016 +0200
+++ b/frontends/src/jp/constants.py	Tue Sep 13 22:03:45 2016 +0200
@@ -34,6 +34,7 @@
     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)