Commit cc03094c authored by Vitaly Lipatov's avatar Vitaly Lipatov

fail2ban: fail ban publisher without configuration

parent 75c6e0e7
......@@ -16,7 +16,7 @@ def get_ip_argument(argv):
def get_settings (path_to_config):
if not os.path.exists(path_to_config):
print("Missed config file")
sys.exit()
sys.exit(1)
config = configparser.ConfigParser()
config.read(path_to_config)
......
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