From 0130fce0c61df4c49f9ae2e62aab534989241d7e Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Wed, 19 May 2021 13:15:46 -0600 Subject: [PATCH] Update SysPatch.py --- Resources/SysPatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 7c592e665..5d9165f15 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -27,7 +27,7 @@ class PatchSysVolume: # TODO: Put this in a better place if self.constants.recovery_status is True: if not Path("/Volumes/mnt1").exists: - Path("/Volumes/mnt1").mkdir() + self.elevated(["mkdir", "/Volumes/mnt1"], stdout=subprocess.PIPE).stdout.decode().strip().encode() self.mount_location = "/Volumes/mnt1" else: self.mount_location = "/System/Volumes/Update/mnt1"