From a6aec4d1fb669384949c4f363e9d284a119fc357 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 4 Apr 2013 10:50:26 -0700 Subject: [PATCH] Make sure a job is logged as OK if the status is NULL for sanity. Change-Id: Ib1e194fc6d655c48b72f0cfae30a9ec78e54419f --- maintenance/runJobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index abe83352a0..66d8028f06 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -108,7 +108,7 @@ class RunJobs extends Maintenance { $group->ack( $job ); // done } - if ( !$status ) { + if ( $status === false ) { $this->runJobsLog( $job->toString() . " t=$timeMs error={$error}" ); } else { $this->runJobsLog( $job->toString() . " t=$timeMs good" ); -- 2.20.1