From 8e53858861ff783a66e0796efdb0721d3c20a38f Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 1 Jul 2016 14:42:15 +0000 Subject: [PATCH] Don't end the mail command with two hyphens Signed-off-by: Patrick Uiterwijk --- roles/clamav/templates/clamscan.sh.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/clamav/templates/clamscan.sh.j2 b/roles/clamav/templates/clamscan.sh.j2 index afe94cb279..4407d58359 100644 --- a/roles/clamav/templates/clamscan.sh.j2 +++ b/roles/clamav/templates/clamscan.sh.j2 @@ -33,11 +33,11 @@ RESULT=$? if [ "$RESULT" -eq "1" ] then - mail -s "Virus found! on $(hostname)" $MAILTO -- < $LOGFILE + mail -s "Virus found! on $(hostname)" $MAILTO < $LOGFILE fi if [ "$RESULT" -eq "2" ] then - mail -s "Virus scanning error on $(hostname)" $MAILTO -- < $LOGFILE + mail -s "Virus scanning error on $(hostname)" $MAILTO < $LOGFILE fi