diff options
author | Michael Lewkowski <michael@lewkowski.de> | 2016-06-01 09:53:36 +0200 |
---|---|---|
committer | Michael Lewkowski <michael@lewkowski.de> | 2016-06-01 09:53:36 +0200 |
commit | 5ebec8d1b9fe51d074b351e1cfe0a307d086bc48 (patch) | |
tree | 2c39720cef5cfa1ebfe2a69d283db03539cd6d8d /start-munin.sh | |
parent | 55e3dc2f06721d697935bdc0a820352675b8b185 (diff) | |
download | munin-5ebec8d1b9fe51d074b351e1cfe0a307d086bc48.tar.gz munin-5ebec8d1b9fe51d074b351e1cfe0a307d086bc48.tar.bz2 munin-5ebec8d1b9fe51d074b351e1cfe0a307d086bc48.tar.xz munin-5ebec8d1b9fe51d074b351e1cfe0a307d086bc48.zip |
removed unnecessary escaping of the smtp message env. var
Diffstat (limited to 'start-munin.sh')
-rw-r--r-- | start-munin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/start-munin.sh b/start-munin.sh index 235a7e4..8a050de 100644 --- a/start-munin.sh +++ b/start-munin.sh @@ -35,7 +35,7 @@ fi grep -q 'contact.mail' /etc/munin/munin.conf; rc=$? if [ $rc -ne 0 -a -n "${ALERT_RECIPIENT}" -a -n "${ALERT_SENDER}" ] ; then echo "Setup alert email from ${ALERT_SENDER} to ${ALERT_RECIPIENT}" -echo "contact.mail.command mail -r ${ALERT_SENDER} -s \'${SMTP_MESSAGE}\' ${ALERT_RECIPIENT}" >> /etc/munin/munin.conf + echo "contact.mail.command mail -r ${ALERT_SENDER} -s '${SMTP_MESSAGE}' ${ALERT_RECIPIENT}" >> /etc/munin/munin.conf if [ "${SMTP_ALWAYS_SEND}" = true ] ; then echo 'contact.mail.always_send warning critical' >> /etc/munin/munin.conf fi |