Daniel Gibbs %!s(int64=5) %!d(string=hai) anos
pai
achega
2590243d8e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lgsm/functions/alert_email.sh

+ 2 - 2
lgsm/functions/alert_email.sh

@@ -10,9 +10,9 @@ fn_print_dots "Sending Email alert: ${email}"
 fn_sleep_time
 
 if [ "${emailfrom}" ]; then
-	mail -s "${alertemoji} ${alertsubject} ${alertemoji}" -r "${emailfrom}" "${email}" < "${alertlog}"
+	mail -s "${alertsubject}" -r "${emailfrom}" "${email}" < "${alertlog}"
 else
-	mail -s "${alertemoji} ${alertsubject} ${alertemoji}" "${email}" < "${alertlog}"
+	mail -s "${alertsubject}" "${email}" < "${alertlog}"
 fi
 exitcode=$?
 if [ "${exitcode}" == "0" ]; then