mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
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
This commit is contained in:
9
proc.h
9
proc.h
@@ -25,15 +25,20 @@
|
||||
#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
|
||||
*/
|
||||
#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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user