瀏覽代碼

[Fail2ban] Add variable name

andryyy 8 年之前
父節點
當前提交
fd1955edca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/Dockerfiles/fail2ban/logwatch.py

+ 1 - 1
data/Dockerfiles/fail2ban/logwatch.py

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