- 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
0.x
Cyril Jaquier 2007-04-19 21:43:45 +00:00
parent ac54c8b4f1
commit bfab0409a2
2 changed files with 2 additions and 1 deletions

View File

@ -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
----------

View File

@ -21,7 +21,7 @@ actionstart = echo -en "Hi,\n
# Notes.: command executed once at the end of Fail2Ban
# Values: CMD
#
actionstop = if [ -d <tmpfile> ]; then
actionstop = if [ -f <tmpfile> ]; then
echo -en "Hi,\n
These hosts have been banned by Fail2Ban.\n
`cat <tmpfile>`