From 0afa6fb2be89ab12c650bfef4c6c62d975f489f3 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Tue, 4 Mar 2008 23:11:28 +0000 Subject: [PATCH] - Replaced "echo" with "printf" in actions. Fix #1839673 git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@660 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- ChangeLog | 1 + config/action.d/dummy.conf | 6 +++--- config/action.d/hostsdeny.conf | 2 +- config/action.d/mail-buffered.conf | 10 +++++----- config/action.d/mail-whois-lines.conf | 6 +++--- config/action.d/mail-whois.conf | 6 +++--- config/action.d/mail.conf | 6 +++--- config/action.d/sendmail-buffered.conf | 10 +++++----- config/action.d/sendmail-whois-lines.conf | 6 +++--- config/action.d/sendmail-whois.conf | 6 +++--- config/action.d/sendmail.conf | 6 +++--- 11 files changed, 33 insertions(+), 32 deletions(-) diff --git a/ChangeLog b/ChangeLog index 41aa9c53..a942c2f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -37,6 +37,7 @@ ver. 0.8.2 (2008/??/??) - stable fail2ban.conf. - Added Mac OS/X startup script. Thanks to Bill Heaton. - Absorbed some Debian patches. Thanks to Yaroslav Halchenko. +- Replaced "echo" with "printf" in actions. Fix #1839673 ver. 0.8.1 (2007/08/14) - stable ---------- diff --git a/config/action.d/dummy.conf b/config/action.d/dummy.conf index be426b4a..12ceefed 100644 --- a/config/action.d/dummy.conf +++ b/config/action.d/dummy.conf @@ -12,7 +12,7 @@ # Values: CMD # actionstart = touch /tmp/fail2ban.dummy - echo "" >> /tmp/fail2ban.dummy + printf %%b "\n" >> /tmp/fail2ban.dummy # Option: actionstop # Notes.: command executed once at the end of Fail2Ban @@ -34,7 +34,7 @@ actioncheck = #