Skip to content

Commit

Permalink
Merge pull request #314 from sapolang/master
Browse files Browse the repository at this point in the history
bin/resque 99行pid变量缺少一个$
  • Loading branch information
chrisboulton authored Nov 3, 2016
2 parents a03f00f + 7c9c183 commit cf187fa
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 cf187fa

Please sign in to comment.