Skip to content

Commit e2507b2

Browse files
committed
fix(occ): Suppress errors when checking config.php fileowner
Signed-off-by: provokateurin <[email protected]>
1 parent f85154f commit e2507b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

occ

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function dropPrivileges(): void {
1717
}
1818

1919
$configPath = __DIR__ . '/config/config.php';
20-
$uid = fileowner($configPath);
20+
$uid = @fileowner($configPath);
2121
if ($uid === false) {
2222
return;
2323
}

0 commit comments

Comments
 (0)