Skip to content

Commit 7a0a728

Browse files
Merge pull request #51720 from nextcloud/backport/51594/stable31
[stable31] fix(occ): Suppress errors when checking config.php fileowner
2 parents 927739c + 3a50674 commit 7a0a728

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)