mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Don't end the mail command with two hyphens
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user