mirror of
https://github.com/mvt-project/mvt.git
synced 2024-07-01 08:29:03 +00:00
Merge pull request #300 from andefined/fix-idstatuscache-error
Fixed missing root_paths check for ios/idstatuscache module
This commit is contained in:
commit
d4e99661c7
|
@ -169,15 +169,16 @@ class IOSExtraction(MVTModule):
|
||||||
file_path = self._get_backup_file_from_id(backup_id)
|
file_path = self._get_backup_file_from_id(backup_id)
|
||||||
if file_path:
|
if file_path:
|
||||||
break
|
break
|
||||||
|
|
||||||
# If this file does not exist we might be processing a full
|
if root_paths:
|
||||||
# filesystem dump (checkra1n all the things!).
|
# If this file does not exist we might be processing a full
|
||||||
if not file_path or not os.path.exists(file_path):
|
# filesystem dump (checkra1n all the things!).
|
||||||
# We reset the file_path.
|
if not file_path or not os.path.exists(file_path):
|
||||||
file_path = None
|
# We reset the file_path.
|
||||||
for found_path in self._get_fs_files_from_patterns(root_paths):
|
file_path = None
|
||||||
file_path = found_path
|
for found_path in self._get_fs_files_from_patterns(root_paths):
|
||||||
break
|
file_path = found_path
|
||||||
|
break
|
||||||
|
|
||||||
# If we do not find any, we fail.
|
# If we do not find any, we fail.
|
||||||
if file_path:
|
if file_path:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user