projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show git information in the functional test
[kconfig-hardened-check.git]
/
kconfig_hardened_check
/
__init__.py
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index d7df1bf58908a3c1818700cc266b67aa322a162a..3e4db1c96989a70385becacc6805702e9cbd55a8 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-205,7
+205,7
@@
def parse_sysctl_file(mode, parsed_options, fname):
for line in f.readlines():
line = line.strip()
if not sysctl_pattern.match(line):
for line in f.readlines():
line = line.strip()
if not sysctl_pattern.match(line):
- sys.exit(f'[!] ERROR: unexpected line in sysctl file:
{line}
')
+ sys.exit(f'[!] ERROR: unexpected line in sysctl file:
"{line}"
')
option, value = line.split('=', 1)
option = option.strip()
value = value.strip()
option, value = line.split('=', 1)
option = option.strip()
value = value.strip()