From: Alexander Popov Date: Tue, 16 Jan 2024 17:20:41 +0000 (+0300) Subject: Fix style (I) X-Git-Tag: v0.6.6~10 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=504d6943a0c55564828453c08b5b47a1fe8b894b;p=kconfig-hardened-check.git Fix style (I) --- diff --git a/kernel_hardening_checker/__init__.py b/kernel_hardening_checker/__init__.py index a092e5c..597a964 100644 --- a/kernel_hardening_checker/__init__.py +++ b/kernel_hardening_checker/__init__.py @@ -281,7 +281,7 @@ def main(): else: kernel_version, msg = detect_kernel_version(args.config) if kernel_version is None: - if not args.kernel_version: + if args.kernel_version is None: print('[!] Hint: provide the kernel version file through --kernel-version option') sys.exit(f'[!] ERROR: {msg}') if mode != 'json':