Browse Source

emoji email

Daniel Gibbs 4 years ago
parent
commit
b56df841c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lgsm/functions/alert_email.sh

+ 1 - 1
lgsm/functions/alert_email.sh

@@ -13,7 +13,7 @@ fn_sleep_time
 if [ -n "${emailfrom}" ]; then
 if [ -n "${emailfrom}" ]; then
 	mail -s "${alertemoji} ${alerttitle} ${alertemoji}" -r "${emailfrom}" "${email}" < "${alertlog}"
 	mail -s "${alertemoji} ${alerttitle} ${alertemoji}" -r "${emailfrom}" "${email}" < "${alertlog}"
 else
 else
-	mail -s "${alerttitle}" "${email}" < "${alertlog}"
+	mail -s "${alertemoji} ${alerttitle} ${alertemoji}" "${email}" < "${alertlog}"
 fi
 fi
 exitcode=$?
 exitcode=$?
 if [ "${exitcode}" == "0" ]; then
 if [ "${exitcode}" == "0" ]; then