Skip to content

Commit

Permalink
sys_patch_mount.py: Fix comment and missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed May 13, 2024
1 parent 7f7acc4 commit 23146d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opencore_legacy_patcher/sys_patch/sys_patch_mount.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ def _mount_root_volume(self) -> str:
def _unmount_root_volume(self, ignore_errors: bool = True) -> bool:
"""
Unmount the root volume.
If applicable, create a snapshot before unmounting.
"""
if self.xnu_major < os_data.os_data.catalina.value:
return True
Expand All @@ -130,6 +128,8 @@ def _unmount_root_volume(self, ignore_errors: bool = True) -> bool:
subprocess_wrapper.log(result)
return False

return True


def create_snapshot(self) -> bool:
"""
Expand Down

0 comments on commit 23146d7

Please sign in to comment.