Skip to content

Commit

Permalink
Silence error for chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevad authored Feb 1, 2017
1 parent b935206 commit e7142a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CronProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private function saveInfoFile()
unset($data['_service'], $data['_wrapperCommand']);

file_put_contents($this->getInfoFileName(), json_encode($data), LOCK_EX);
chmod($this->getInfoFileName(), 0777);
@chmod($this->getInfoFileName(), 0777);
}

/**
Expand Down

0 comments on commit e7142a3

Please sign in to comment.