Fixed attachment command in SendEmail

This commit is contained in:
deajan 2016-11-09 17:36:18 +01:00
parent aa311ee8ac
commit b461b5bc95
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ function SendEmail {
local auth_string=
if [ ! -f "$attachment" ]; then
attachment_command="-a $ALERT_LOG_FILE"
attachment_command="-a $attachment"
mail_no_attachment=1
else
mail_no_attachment=0