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