mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-20 01:38:12 +00:00
[Fail2ban] Add variable name
This commit is contained in:
1 parent
ea5aa261c9
commit
fd1955edca
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user