Browse Source
fix: update notify/mail.sh
Co-Authored-By: Matej Mihevc <zuexo@users.noreply.github.com>
pull/2293/head
Honza Hommer
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
notify/mail.sh
|
|
@ -62,7 +62,7 @@ mail_send() { |
|
|
|
|
|
|
|
|
contenttype="text/plain; charset=utf-8" |
|
|
contenttype="text/plain; charset=utf-8" |
|
|
subject="=?UTF-8?B?$(echo "$_subject" | _base64)?=" |
|
|
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 |
|
|
# shellcheck disable=SC2181 |
|
|
if [ $? -ne 0 ]; then |
|
|
if [ $? -ne 0 ]; then |
|
|
|