Skip to content

Commit

Permalink
Update dissect/target/plugins/os/unix/linux/modules.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrco committed Sep 26, 2023
1 parent f57b444 commit 538e5bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dissect/target/plugins/os/unix/linux/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def check_compatible(self) -> bool:
def _iterate_modules(self) -> Iterator[Module]:
for module_path in self._module_base_path.iterdir():
if module_path.joinpath("initstate").exists():
# Normally the holders folder should exist,
# however Acquire currently doesn't collect a folder if its empty
holders = []
if (holders_path := module_path.joinpath("holders")).exists():
holders = [item.name for item in holders_path.iterdir()]
Expand Down

0 comments on commit 538e5bf

Please sign in to comment.