Another typo bites the dust :(

This commit is contained in:
deajan 2015-12-15 13:45:11 +01:00
parent 7e0de0e5c0
commit 3c6c115a4b
3 changed files with 3 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"