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:
parent
b6730b1ea3
commit
3979e37fcf
1 changed files with 3 additions and 1 deletions
|
|
@ -185,7 +185,9 @@ class ParserTestsMaintenance extends Maintenance {
|
|||
if ( $recorderLB ) {
|
||||
$recorderLB->closeAll();
|
||||
}
|
||||
return $ok ? 0 : 1;
|
||||
if ( !$ok ) {
|
||||
exit( 1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue