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));