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:
parent
ea5aa261c9
commit
fd1955edca
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user