From 9560117ab7078ce2699f98f0d23170061f6f2d5a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 2 May 2013 14:40:20 +0200 Subject: [PATCH] Fix actions template in jail.conf --- root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions index dc99723..ba3b3db 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions @@ -1,6 +1,6 @@ action = smeserver[port="", protocol=] { -if (($fail2ban{'Mail'} || 'disabled) eq 'enabled'){ +if (($fail2ban{'Mail'} || 'disabled') eq 'enabled'){ my $dest = $fail2ban{'MailRecipient'} || 'root'; $OUT .= " sendmail[name=, dest=$dest]\n"; }