update 115/head
authorkrishjainx <kjain7@u.rochester.edu>
Sun, 17 Mar 2024 21:43:01 +0000 (17:43 -0400)
committerkrishjainx <kjain7@u.rochester.edu>
Sun, 17 Mar 2024 21:43:01 +0000 (17:43 -0400)
kernel_hardening_checker/engine.py

index 1d75251b1393730060a842772f11acfaff4113f4..594563ef63604addf00560c48f522f48855100dc 100644 (file)
@@ -113,7 +113,7 @@ class OptCheck:
         }
         if with_results:
             dump["check_result_text"] = self.result
-            dump["check_result"] = "FAIL" not in self.result
+            dump["check_result"] = self.result.startswith('OK')
         return dump