Browse Source
fix(occ): Suppress errors when checking config.php fileowner
Signed-off-by: provokateurin <kate@provokateurin.de>
pull/51594/head
provokateurin
8 months ago
Failed to extract signature
1 changed files with
1 additions and
1 deletions
-
occ
|
|
|
@ -17,7 +17,7 @@ function dropPrivileges(): void { |
|
|
|
} |
|
|
|
|
|
|
|
$configPath = __DIR__ . '/config/config.php'; |
|
|
|
$uid = fileowner($configPath); |
|
|
|
$uid = @fileowner($configPath); |
|
|
|
if ($uid === false) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|