projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b9932
)
Fix style (I)
author
Alexander Popov
<alex.popov@linux.com>
Tue, 16 Jan 2024 17:20:41 +0000
(20:20 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 16 Jan 2024 17:20:41 +0000
(20:20 +0300)
kernel_hardening_checker/__init__.py
patch
|
blob
|
history
diff --git
a/kernel_hardening_checker/__init__.py
b/kernel_hardening_checker/__init__.py
index a092e5c8cdbd432221291f879d62ffee3bd5a184..597a964eea63a3a2a01df794e6e65b25504a0905 100644
(file)
--- 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':