aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-02-19 15:06:49 +0100
committerRobin Appelman <robin@icewind.nl>2024-12-13 17:22:00 +0100
commit355dde83c504d93df063f522ea0514ec7ff7f24b (patch)
tree6b334f002ba641d25ff20d91e9c5ba61d709781c
parent10852d38e345eab68035a2442f3a76b5c5e7bf1a (diff)
downloadnextcloud-server-ignore-write-test-unlink-err.tar.gz
nextcloud-server-ignore-write-test-unlink-err.zip
fix: ignore error when removing "is writable" test fileignore-write-test-unlink-err
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/private/legacy/OC_Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index f82082d3d12..970f1b6f719 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -453,7 +453,7 @@ class OC_Util {
];
} else {
fclose($handle);
- unlink($testFile);
+ @unlink($testFile);
}
} else {
$errors = array_merge($errors, self::checkDataDirectoryPermissions($CONFIG_DATADIRECTORY));