From: krishjainx Date: Sun, 17 Mar 2024 21:43:01 +0000 (-0400) Subject: update X-Git-Tag: v0.6.10~93^2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=61dfaafd23e8c75db31a4fb06524636a6c805a9f;p=kconfig-hardened-check.git update --- 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