From b461b5bc9521a2dadf8048e180187811c611d824 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 9 Nov 2016 17:36:18 +0100 Subject: [PATCH] Fixed attachment command in SendEmail --- dev/ofunctions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 5272191..826fa1a 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -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