amfi_detect.py: Resolve regression

This commit is contained in:
Mykola Grymalyuk
2023-02-10 12:02:23 -07:00
parent 0f7f079dd8
commit 12b7cf7fcd

View File

@@ -68,7 +68,7 @@ class AmfiConfigurationDetection:
amfi_value = 0
for arg in self.boot_args:
if not arg.startswith("amfi"):
if not arg.startswith("amfi="):
continue
try:
amfi_value = arg.split("=")