Skip to content

Commit

Permalink
sh_optksh: status 128: accuracy and brevity
Browse files Browse the repository at this point in the history
Not all 128 errors are internal errors (e.g., out of memory
and failure to read from the script are system errors).

I don't think it's actually very useful to mention examples here;
I prefer to keep it brief.
  • Loading branch information
McDutchie committed Jan 31, 2024
1 parent 02a2c42 commit 77c9ba5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cmd/ksh93/data/builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -1688,9 +1688,7 @@ const char sh_optksh[] =
"was found on \bPATH\b but was not executable.]"
"[+127?\b-c\b and \b-s\b were not specified and the command script "
"corresponding to \aarg\a could not be found.]"
"[+128?An unrecoverable internal error occurred (e.g., OOM, failure "
"to read from a script during execution, or any other such "
"unusual circumstance).]"
"[+128?An unrecoverable fatal error occurred.]"
"}"

"[+SEE ALSO?\bset\b(1), \bbuiltin\b(1)]"
Expand Down

0 comments on commit 77c9ba5

Please sign in to comment.