From 61dfaafd23e8c75db31a4fb06524636a6c805a9f Mon Sep 17 00:00:00 2001 From: krishjainx Date: Sun, 17 Mar 2024 17:43:01 -0400 Subject: [PATCH] update --- kernel_hardening_checker/engine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_hardening_checker/engine.py b/kernel_hardening_checker/engine.py index 1d75251..594563e 100644 --- a/kernel_hardening_checker/engine.py +++ b/kernel_hardening_checker/engine.py @@ -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 -- 2.31.1