1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-26 05:27:29 +02:00

[Fail2ban] Add variable name

This commit is contained in:
andryyy 2017-09-20 23:24:39 +02:00
parent ea5aa261c9
commit fd1955edca

View File

@ -14,7 +14,7 @@ import json
yes_regex = re.compile(r'([yY][eE][sS]|[yY])+$')
if re.search(yes_regex, os.getenv('SKIP_FAIL2BAN', 0)):
print "Skipping Fail2ban container..."
print "SKIP_FAIL2BAN=y, Skipping Fail2ban container..."
time.sleep(31536000)
raise SystemExit