Skip to content

Commit 0fe6897

Browse files
committed
fix: ignore log chmod race
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent e976a59 commit 0fe6897

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Log/Handlers/FileHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function handle($level, $message): bool
121121
fclose($fp);
122122

123123
if ($newfile) {
124-
chmod($filepath, $this->filePermissions);
124+
@chmod($filepath, $this->filePermissions);
125125
}
126126

127127
return is_int($result);

0 commit comments

Comments
 (0)