Don't exit from perform_checking()
authorAlexander Popov <alex.popov@linux.com>
Sat, 16 Nov 2024 15:01:47 +0000 (18:01 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sat, 16 Nov 2024 15:01:47 +0000 (18:01 +0300)
We do it from main()

kernel_hardening_checker/__init__.py

index cf7f2f98e21bf6dbfdfb2ec608251c36b373767f..36c91089772320ec9bc2a7102b93368144b247f0 100755 (executable)
@@ -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: