Commit dbbe0f02 by Alexander Popov

Fix the output: ERROR, not BUG

parent 7e258c66
...@@ -206,7 +206,7 @@ def check_config_file(fname): ...@@ -206,7 +206,7 @@ def check_config_file(fname):
elif opt_is_off.match(line): elif opt_is_off.match(line):
option, value = line[9:].split(' ', 1) option, value = line[9:].split(' ', 1)
if value != 'is not set': if value != 'is not set':
sys.exit('[!] BUG: bad disabled config option "{}"'.format(line)) sys.exit('[!] ERROR: bad disabled config option "{}"'.format(line))
if option in parsed_options: if option in parsed_options:
sys.exit('[!] ERROR: config option "{}" exists multiple times'.format(line)) sys.exit('[!] ERROR: config option "{}" exists multiple times'.format(line))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment