Merge pull request #314 from sapolang/master

bin/resque 99行pid变量缺少一个$
This commit is contained in:
Chris Boulton 2016-11-03 14:56:00 -07:00 committed by GitHub
commit cf187fae52

View File

@ -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();
}