From b3ead7568df0fe6215bcc4c5e084c381b78cf48c Mon Sep 17 00:00:00 2001 From: RealRancor Date: Sat, 19 Mar 2016 14:08:21 +0100 Subject: [PATCH] Exclude lost+found dir in integrity check --- .../iterator/excludefoldersbypathfilteriterator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php b/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php index 766897e751..1082e97c29 100644 --- a/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php +++ b/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php @@ -34,10 +34,11 @@ class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator { $excludedFolders = [ rtrim($root . '/data', '/'), - rtrim($root .'/themes', '/'), + rtrim($root . '/themes', '/'), rtrim($root . '/config', '/'), rtrim($root . '/apps', '/'), rtrim($root . '/assets', '/'), + rtrim($root . '/lost+found', '/'), ]; $customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', ''); if($customDataDir !== '') {