parserTests.php: Fix exit status

The return value of Maintenance::execute() is discarded, not used as an
exit status.

Change-Id: I9dd92e43b5b1df1a63d0e8302d360d0bb0f57e7b
This commit is contained in:
Tim Starling 2016-09-12 16:43:38 +10:00 committed by Legoktm
parent b6730b1ea3
commit 3979e37fcf

View file

@ -185,7 +185,9 @@ class ParserTestsMaintenance extends Maintenance {
if ( $recorderLB ) {
$recorderLB->closeAll();
}
return $ok ? 0 : 1;
if ( !$ok ) {
exit( 1 );
}
}
}