Skip to content

Commit e67eba5

Browse files
Merge pull request #51594 from nextcloud/fix/occ/config-fileowner-suppress-errors
fix(occ): Suppress errors when checking config.php fileowner
2 parents d171360 + e2507b2 commit e67eba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

occ

Lines changed: 1 addition & 1 deletion
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)