fix(occ): Suppress errors when checking config.php fileowner

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/51720/head
provokateurin 2025-03-20 08:03:05 +07:00 committed by backportbot[bot]
parent 927739cb2b
commit 3a50674855
1 changed files with 1 additions and 1 deletions

2
occ

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