From 3c6c115a4b98f68b55fbd9c6f9512f4cd66573e7 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 15 Dec 2015 13:45:11 +0100 Subject: [PATCH] Another typo bites the dust :( --- dev/debug_osync.sh | 1 + dev/ofunctions.sh | 1 + osync.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index ce27df1..2b277ef 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -284,6 +284,7 @@ function SendAlert { attachment_command="-a $ALERT_LOG_FILE" else attachment_command="" + fi echo "$MAIL_ALERT_MSG" | $(type -p mail) $attachment_command -s "$subject" $DESTINATION_MAILS if [ $? != 0 ]; then Logger "WARNING: Cannot send alert email via $(type -p mail) with attachments !!!" "WARN" diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index e1184c2..8bb7273 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -275,6 +275,7 @@ function SendAlert { attachment_command="-a $ALERT_LOG_FILE" else attachment_command="" + fi echo "$MAIL_ALERT_MSG" | $(type -p mail) $attachment_command -s "$subject" $DESTINATION_MAILS if [ $? != 0 ]; then Logger "WARNING: Cannot send alert email via $(type -p mail) with attachments !!!" "WARN" diff --git a/osync.sh b/osync.sh index fa603f2..4e0f071 100755 --- a/osync.sh +++ b/osync.sh @@ -272,6 +272,7 @@ function SendAlert { attachment_command="-a $ALERT_LOG_FILE" else attachment_command="" + fi echo "$MAIL_ALERT_MSG" | $(type -p mail) $attachment_command -s "$subject" $DESTINATION_MAILS if [ $? != 0 ]; then Logger "WARNING: Cannot send alert email via $(type -p mail) with attachments !!!" "WARN"