diff --git a/plugins/helpers/apfs_reader.py b/plugins/helpers/apfs_reader.py index 2961a28..aa621c9 100644 --- a/plugins/helpers/apfs_reader.py +++ b/plugins/helpers/apfs_reader.py @@ -1150,6 +1150,8 @@ def DoesFileExist(self, path): def DoesFolderExist(self, path): '''Returns True if folder exists''' + if path != '/' and path.endswith('/'): + path = path[:-1] apfs_file_meta = self.GetApfsFileMeta(path) if apfs_file_meta: return apfs_file_meta.item_type in (4, 10) # will also return true for symlink which may point to file!