Skip to content

Commit

Permalink
bin/resque 缺少一个$
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiangyang committed Oct 24, 2016
1 parent a03f00f commit 7c9c183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/resque
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down Expand Up @@ -126,4 +126,4 @@ else {
$logger->log(Psr\Log\LogLevel::NOTICE, 'Starting worker {worker}', array('worker' => $worker));
$worker->work($interval, $BLOCKING);
}
?>
?>

0 comments on commit 7c9c183

Please sign in to comment.