From 06d4c86ad82d795001aaa429999745c68b1d76fd Mon Sep 17 00:00:00 2001 From: Dhinak G <17605561+dhinakg@users.noreply.github.com> Date: Sat, 24 Apr 2021 14:09:28 -0400 Subject: [PATCH] Fix report error output --- Resources/SysPatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/SysPatch.py b/Resources/SysPatch.py index 27f7ae965..661e423df 100644 --- a/Resources/SysPatch.py +++ b/Resources/SysPatch.py @@ -246,14 +246,14 @@ class PatchSysVolume: if self.constants.gui_mode is False: input("Press [ENTER] to continue with cache rebuild") print("- Rebuilding Kernel Cache (This may take some time)") - result = subprocess.run(f"sudo kmutil install --volume-root {self.mount_location} --update-all".split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE) + result = subprocess.run(f"sudo kmutil install --volume-root {self.mount_location} --update-all".split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if result.returncode != 0: self.sucess_status = False print("- Unable to build new kernel cache") print("\nPlease report this to Github") print("Reason for Patch Failure:") - print(result) + print(result.stdout.decode()) print("") else: self.sucess_status = True