X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrunJobs.php;h=0874538b19bc06d315e07b6cebf23099191e14bc;hb=3d95da4952619f9f773298c4461ccfc646fb18a9;hp=af2a318bac5a9e6339e4affc3ca27278e508c5c1;hpb=5120937028f768749d058aa91dde82a96de0af1c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index af2a318bac..0874538b19 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -59,7 +59,7 @@ class RunJobs extends Maintenance { if ( $this->hasOption( 'procs' ) ) { $procs = intval( $this->getOption( 'procs' ) ); if ( $procs < 1 || $procs > 1000 ) { - $this->error( "Invalid argument to --procs", true ); + $this->fatalError( "Invalid argument to --procs" ); } elseif ( $procs != 1 ) { $fc = new ForkController( $procs ); if ( $fc->start() != 'child' ) {