fix: ignore error when removing "is writable" test file

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2024-02-19 15:06:49 +01:00
parent 10852d38e3
commit 355dde83c5

View file

@ -453,7 +453,7 @@ class OC_Util {
];
} else {
fclose($handle);
unlink($testFile);
@unlink($testFile);
}
} else {
$errors = array_merge($errors, self::checkDataDirectoryPermissions($CONFIG_DATADIRECTORY));