From e7142a393d48bcb5228e4d6d736a20d89a429f02 Mon Sep 17 00:00:00 2001 From: Stepanov Vadym Date: Wed, 1 Feb 2017 10:18:46 +0200 Subject: [PATCH] Silence error for chmod --- CronProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CronProcess.php b/CronProcess.php index c5eb602..ca44b34 100644 --- a/CronProcess.php +++ b/CronProcess.php @@ -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); } /**