That's why a status of -1 is showing up as 255.
Trying this: bash -c 'exit -1' produces the error Illegal number: -1, so I doubt status codes are meant to be interpreted as signed integers.
In reply to Re: negative exit codes?
by pc88mxer
in thread negative exit codes?
by wscott44
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |