From 03a08153571382eca978ae1f7246e2dfbee38590 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 9 Dec 2013 13:03:08 +0100 Subject: [PATCH] Fix syntax error in mail-notification.sh. Fixes #5285 --- etc/icinga2/scripts/mail-notification.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/icinga2/scripts/mail-notification.sh b/etc/icinga2/scripts/mail-notification.sh index 803892dc0..e84e7d14c 100755 --- a/etc/icinga2/scripts/mail-notification.sh +++ b/etc/icinga2/scripts/mail-notification.sh @@ -14,7 +14,8 @@ Date/Time: $LONGDATETIME Additional Info: $SERVICEOUTPUT Comment: [$NOTIFICATIONAUTHORNAME] $NOTIFICATIONCOMMENT -TEMPLATE) +TEMPLATE +) /usr/bin/printf "%b" $template | mail -s "$NOTIFICATIONTYPE - $HOSTDISPLAYNAME - $SERVICEDISPLAYNAME is $SERVICESTATE" $USEREMAIL