Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"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>
- Loading branch information