do not overflow exit status. [RT #42643]
This commit is contained in:
@@ -335,5 +335,5 @@ if test $p1 -le $p2; then ret=1; fi
|
||||
if test $ret != 0; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
|
||||
exit $status
|
||||
echo "I:exit status: $status"
|
||||
[ $status -eq 0 ] || exit 1
|
||||
|
||||
Reference in New Issue
Block a user