sys_patch_mount.py: Fix comment and missing return statement

This commit is contained in:
Mykola Grymalyuk
2024-05-13 17:55:37 -06:00
parent 7f7acc4c9a
commit 23146d731a

View File

@@ -109,8 +109,6 @@ class SysPatchMount:
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
@@ -130,6 +128,8 @@ class SysPatchMount:
subprocess_wrapper.log(result)
return False
return True
def create_snapshot(self) -> bool:
"""