X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=kconfig_hardened_check%2F__init__.py;h=3e4db1c96989a70385becacc6805702e9cbd55a8;hb=4b97fce50b144ea7a266cf7bdd5cb6f274cfa32a;hp=d7df1bf58908a3c1818700cc266b67aa322a162a;hpb=133e7a078a0018e376dc52902e6a8ed66c8849a4;p=kconfig-hardened-check.git diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index d7df1bf..3e4db1c 100644 --- 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): - 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()