]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/bin/fail-if-exit-non-zero.pl
ld64-77.tar.gz
[apple/ld64.git] / unit-tests / bin / fail-if-exit-non-zero.pl
index 24ca8956a491094a03ae6df5571d19b3dce4f98b..7fb54b25a4bcde5f18e2e1b74e68e7750afc0ae0 100755 (executable)
@@ -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;