Skip to content

Commit

Permalink
getmntinfo() -> getmntinfo().values()
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Dec 28, 2024
1 parent 4675c29 commit 807f198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truenas_install/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def main():

old_root_dataset = None
if old_root is not None:
for i in getmntinfo():
for i in getmntinfo().values():
if i["mountpoint"] == old_root:
old_root_dataset = i["mount_source"]
break
Expand Down

0 comments on commit 807f198

Please sign in to comment.