parserTests.php: Fix exit status
[lhc/web/wiklou.git] / tests / parser / parserTests.php
index 8d5f072..38923f0 100644 (file)
@@ -185,7 +185,9 @@ class ParserTestsMaintenance extends Maintenance {
                if ( $recorderLB ) {
                        $recorderLB->closeAll();
                }
-               return $ok ? 0 : 1;
+               if ( !$ok ) {
+                       exit( 1 );
+               }
        }
 }