bin/resque 缺少一个$

This commit is contained in:
lixiangyang 2016-10-24 13:53:58 +08:00
parent a03f00f2a0
commit 7c9c18352c

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