mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-01 05:29:45 +02:00
Merge pull request #300 from andefined/fix-idstatuscache-error
Fixed missing root_paths check for ios/idstatuscache module
This commit is contained in:
1 file changed
+9
-8
@@ -170,14 +170,15 @@ class IOSExtraction(MVTModule):
|
|||||||
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:
|
||||||
|
|||||||
Reference in new issue
Block a user