mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
Be more rigorous with the exit codes set by the parser and builtins
darcs-hash:20061009012102-ac50b-4f28c43dd1ccdcc04d1620a6da05218a99fd7337.gz
This commit is contained in:
15
proc.h
15
proc.h
@@ -24,6 +24,21 @@
|
||||
*/
|
||||
#define STATUS_UNKNOWN_COMMAND 127
|
||||
|
||||
/**
|
||||
The status code use when a wildcard had no matches
|
||||
*/
|
||||
#define STATUS_UNMATCHED_WILDCARD 126
|
||||
|
||||
/**
|
||||
The status code use when an unknown error occured during execution of a command
|
||||
*/
|
||||
#define STATUS_EXEC_FAIL 125
|
||||
|
||||
/**
|
||||
The status code use for erroneous argument combinations in a builtin
|
||||
*/
|
||||
#define STATUS_BUILTIN_ERROR 1
|
||||
|
||||
/**
|
||||
Types of processes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user