diff options
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1118,8 +1118,8 @@ function fail() { local STATUS="$?" if ((STATUS > 125)); then - return "$STATUS" - elif ((STATUS)); then + exit "$STATUS" + elif ((STATUS > 0)); then return 0 else return 1 |