From 355dde83c504d93df063f522ea0514ec7ff7f24b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 19 Feb 2024 15:06:49 +0100 Subject: [PATCH] fix: ignore error when removing "is writable" test file Signed-off-by: Robin Appelman --- lib/private/legacy/OC_Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index f82082d3d129f..970f1b6f719b8 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -453,7 +453,7 @@ public static function checkServer(\OC\SystemConfig $config) { ]; } else { fclose($handle); - unlink($testFile); + @unlink($testFile); } } else { $errors = array_merge($errors, self::checkDataDirectoryPermissions($CONFIG_DATADIRECTORY));