You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"exit -1" has traditionally had "exit 255" result, but starts to be
rejected by some shells (eg. dash, which is is the default on many
Debian systems):
host$ bash
$ exit -1
exit
host$ echo $?
255
host$ dash
$ exit -1
dash: 1: exit: Illegal number: -1
$
host$ echo $?
2
Signed-off-by: Yann Dirson <yann@blade-group.com>
Reviewed-by: Jerome Forissier <jerome@forissier.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
0 commit comments