From: Alexander Popov Date: Sat, 16 Nov 2024 15:01:47 +0000 (+0300) Subject: Don't exit from perform_checking() X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=464d6f2a75938fb2280552f85a8ee1a246baa098;p=kconfig-hardened-check.git Don't exit from perform_checking() We do it from main() --- 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: