mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #51719 from nextcloud/backport/51594/stable30
[stable30] fix(occ): Suppress errors when checking config.php fileowner
This commit is contained in:
commit
e058f7fc55
1 changed files with 1 additions and 1 deletions
2
occ
2
occ
|
|
@ -17,7 +17,7 @@ function dropPrivileges(): void {
|
|||
}
|
||||
|
||||
$configPath = __DIR__ . '/config/config.php';
|
||||
$uid = fileowner($configPath);
|
||||
$uid = @fileowner($configPath);
|
||||
if ($uid === false) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue