mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
kdk_handler: Remove redundant sudo invocation
This commit is contained in:
@@ -197,4 +197,4 @@ class kernel_debug_kit_handler:
|
||||
if kdk_folder.name.endswith(".kdk"):
|
||||
if not kdk_folder.name.endswith(f"{exclude_build}.kdk"):
|
||||
print(f" - Removing {kdk_folder.name}")
|
||||
utilities.elevated(["sudo", "rm", "-rf", kdk_folder], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
utilities.elevated(["rm", "-rf", kdk_folder], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
Reference in New Issue
Block a user