mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-11 16:27:19 +10:00
sys_patch_mount.py: Fix comment and missing return statement
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user