Skip to content

Commit 17cf650

Browse files
committed
fix: ignore log chmod race
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 915edbf commit 17cf650

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
@@ -126,7 +126,7 @@ public function handle($level, $message, array $context = []): bool
126126
fclose($fp);
127127

128128
if ($newfile) {
129-
chmod($filepath, $this->filePermissions);
129+
@chmod($filepath, $this->filePermissions);
130130
}
131131

132132
return is_int($result);

0 commit comments

Comments
 (0)