Merge pull request #51594 from nextcloud/fix/occ/config-fileowner-suppress-errors

fix(occ): Suppress errors when checking config.php fileowner
This commit is contained in:
Kate 2025-03-26 10:14:24 +01:00 committed by GitHub
commit e67eba5e2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
occ
View file

@ -17,7 +17,7 @@ function dropPrivileges(): void {
}
$configPath = __DIR__ . '/config/config.php';
$uid = fileowner($configPath);
$uid = @fileowner($configPath);
if ($uid === false) {
return;
}