From 7c9c18352c9a0f9da391dc1efd8a2fabe9d2f29b Mon Sep 17 00:00:00 2001 From: lixiangyang Date: Mon, 24 Oct 2016 13:53:58 +0800 Subject: [PATCH] =?UTF-8?q?bin/resque=20=E7=BC=BA=E5=B0=91=E4=B8=80?= =?UTF-8?q?=E4=B8=AA$?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/resque | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/resque b/bin/resque index b445dd2..1d60485 100755 --- a/bin/resque +++ b/bin/resque @@ -96,7 +96,7 @@ if(!empty($PREFIX)) { if($count > 1) { for($i = 0; $i < $count; ++$i) { $pid = Resque::fork(); - if($pid === false || pid === -1) { + if($pid === false || $pid === -1) { $logger->log(Psr\Log\LogLevel::EMERGENCY, 'Could not fork worker {count}', array('count' => $i)); die(); } @@ -126,4 +126,4 @@ else { $logger->log(Psr\Log\LogLevel::NOTICE, 'Starting worker {worker}', array('worker' => $worker)); $worker->work($interval, $BLOCKING); } -?> \ No newline at end of file +?>