sys_patch: Fix typos

Thanks @perez987
This commit is contained in:
Mykola Grymalyuk
2022-10-02 12:15:07 -06:00
parent 3a90cfa3b9
commit 41ebf7ce32
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ class kernel_debug_kit_handler:
date = variant["released"]
if version != host_version:
# Check if this is a secuirty update (ie. 13.0.1)
# Check if this is a security update (ie. 13.0.1)
version_split = version.split(".")
host_version_split = host_version.split(".")
if len(version_split) >= 2 and len(host_version_split) >= 2:

View File

@@ -471,7 +471,7 @@ class PatchSysVolume:
if "Processes" in required_patches[patch]:
for process in required_patches[patch]["Processes"]:
# Some processes need sudo, however we cannot directly call sudo in some scenarios
# Instead, call elevated funtion is string's boolean is True
# Instead, call elevated funtion if string's boolean is True
if required_patches[patch]["Processes"][process] is True:
print(f"- Running Process as Root:\n{process}")
utilities.process_status(utilities.elevated(process.split(" "), stdout=subprocess.PIPE, stderr=subprocess.STDOUT))