X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/74cfe461234fcf76aadb30ed686f281f06b555cd..a61fdf0a731e23ff7eb0cc86ba748fd9af5de879:/unit-tests/bin/fail-if-exit-non-zero.pl diff --git a/unit-tests/bin/fail-if-exit-non-zero.pl b/unit-tests/bin/fail-if-exit-non-zero.pl index 24ca895..7fb54b2 100755 --- a/unit-tests/bin/fail-if-exit-non-zero.pl +++ b/unit-tests/bin/fail-if-exit-non-zero.pl @@ -10,12 +10,7 @@ if ( exists $ENV{UNIT_TEST_NAME} ) { if(system(@ARGV) != 0) { printf("FAIL $test_name\n"); - exit 1; + exit 1; } -else -{ - exit 0; -} - - +exit 0;