diff options
author | 2015-09-20 19:23:10 -0400 | |
---|---|---|
committer | 2015-09-20 19:23:10 -0400 | |
commit | 314587590c5ab7204171606cadac52933a49f89d (patch) | |
tree | 1950baf904167b2697f86bd5f0daed888e058c89 /tests | |
parent | libsandbox: do not abort when the target uses bad pointers (diff) | |
download | sandbox-314587590c5ab7204171606cadac52933a49f89d.tar.gz sandbox-314587590c5ab7204171606cadac52933a49f89d.tar.bz2 sandbox-314587590c5ab7204171606cadac52933a49f89d.zip |
tests: avoid overflowing exit codes
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/script-8.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/script-8.sh b/tests/script-8.sh index 685d5d3..6d9de55 100755 --- a/tests/script-8.sh +++ b/tests/script-8.sh @@ -10,4 +10,4 @@ sigsuspend-zsh_static_tst s=$? echo "ret = $s" -exit $(( d + s )) +exit $(( d | s )) |