diff options
author | liljencrantz <liljencrantz@gmail.com> | 2008-01-09 05:31:45 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2008-01-09 05:31:45 +1000 |
commit | 71c2cde39073267a23cafd384ef9996be544c85d (patch) | |
tree | f6c294e2393645b86cf2f9648cfa5fab81b4f88f /proc.h | |
parent | da4a4bcc186e14451ad39f07f6a05eda27a4007f (diff) |
Cleanup and improve the exit status numbers and the messages generated on error as well as make sure that keyboard shortcuts don't change the status
darcs-hash:20080108193145-75c98-56c8aa2dd081af643d206820aa36bf3b6e49e0f2.gz
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -25,9 +25,9 @@ #define STATUS_UNKNOWN_COMMAND 127 /** - The status code use when a wildcard had no matches + The status code use when an unknown error occured during execution of a command */ -#define STATUS_UNMATCHED_WILDCARD 126 +#define STATUS_NOT_EXECUTABLE 126 /** The status code use when an unknown error occured during execution of a command @@ -35,6 +35,11 @@ #define STATUS_EXEC_FAIL 125 /** + The status code use when a wildcard had no matches +*/ +#define STATUS_UNMATCHED_WILDCARD 124 + +/** The status code used for normal exit in a builtin */ #define STATUS_BUILTIN_OK 0 |