From bfab0409a2012c0b06d6b2ab0f3c1585f7748e3b Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Thu, 19 Apr 2007 21:43:45 +0000 Subject: [PATCH] - Replaced -d with -f. We are looking for a file, not a directory git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@570 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- CHANGELOG | 1 + config/action.d/mail-buffered.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 9dab34e6..eedf5848 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ ver. 0.?.? (2007/??/??) - ??? - Fixed "reload" bug. Many many thanks to Yaroslav Halchenko - Added date format for asctime without year - Modified filters config. Thanks to Michael C. Haller +- Fixed a small bug in mail-buffered.conf ver. 0.7.8 (2007/03/21) - release candidate ---------- diff --git a/config/action.d/mail-buffered.conf b/config/action.d/mail-buffered.conf index fb2eb4da..973d48ec 100644 --- a/config/action.d/mail-buffered.conf +++ b/config/action.d/mail-buffered.conf @@ -21,7 +21,7 @@ actionstart = echo -en "Hi,\n # Notes.: command executed once at the end of Fail2Ban # Values: CMD # -actionstop = if [ -d ]; then +actionstop = if [ -f ]; then echo -en "Hi,\n These hosts have been banned by Fail2Ban.\n `cat `