From 5323d17c310de2a9b53a3ae332cbc5729f97a290 Mon Sep 17 00:00:00 2001 From: Honza Hommer Date: Sun, 26 May 2019 15:43:48 +0200 Subject: [PATCH] fix: update notify/mail.sh Co-Authored-By: Matej Mihevc --- notify/mail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify/mail.sh b/notify/mail.sh index 0500b2de..3c953960 100644 --- a/notify/mail.sh +++ b/notify/mail.sh @@ -62,7 +62,7 @@ mail_send() { contenttype="text/plain; charset=utf-8" subject="=?UTF-8?B?$(echo "$_subject" | _base64)?=" - result=$({ _mail_body | _mail_cmnd; } 2>&1) + result=$({ echo "$(_mail_body)" | eval $(_mail_cmnd); } 2>&1) # shellcheck disable=SC2181 if [ $? -ne 0 ]; then