From 464d6f2a75938fb2280552f85a8ee1a246baa098 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 16 Nov 2024 18:01:47 +0300 Subject: [PATCH] Don't exit from perform_checking() We do it from main() --- kernel_hardening_checker/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel_hardening_checker/__init__.py b/kernel_hardening_checker/__init__.py index cf7f2f9..36c9108 100755 --- a/kernel_hardening_checker/__init__.py +++ b/kernel_hardening_checker/__init__.py @@ -375,7 +375,6 @@ def perform_checking(mode: StrOrNone, version: TupleOrNone, # finally print the results print_checklist(mode, config_checklist, True) - sys.exit(0) def main() -> None: -- 2.31.1