From 12998bc7e1b741457a78e93f83c40b43f7a197cb Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Fri, 8 Oct 2021 15:02:25 -0600 Subject: [PATCH] Fix return code error --- resources/sys_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/sys_patch.py b/resources/sys_patch.py index a6228096a..2a6a36172 100644 --- a/resources/sys_patch.py +++ b/resources/sys_patch.py @@ -237,7 +237,7 @@ class PatchSysVolume: input("Press [ENTER] to continue with kernel and dyld cache merging") if self.constants.detected_os > self.constants.catalina: print("- Creating new APFS snapshot") - bless = utilities.elevated(["bless", "--folder", f"{self.mount_location}/System/Library/CoreServices", "--bootefi", "--create-snapshot"], stdout=subprocess.PIPE).stdout.decode().strip().encode() + bless = utilities.elevated(["bless", "--folder", f"{self.mount_location}/System/Library/CoreServices", "--bootefi", "--create-snapshot"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if bless.returncode != 0: print("- Unable to create new snapshot") print("Reason for snapshot failure:")