Browse Source

remove unset

pull/2259/head
Honza Hommer 6 years ago
parent
commit
9a7c9e8d98
No known key found for this signature in database GPG Key ID: 5EBDE8E7E1A00ACA
  1. 2
      notify/mail.sh

2
notify/mail.sh

@ -14,8 +14,6 @@ mail_send() {
_debug "_content" "$_content" _debug "_content" "$_content"
_debug "_statusCode" "$_statusCode" _debug "_statusCode" "$_statusCode"
unset -f _MAIL_BIN _MAIL_BODY _MAIL_CMD
MAIL_BIN="${MAIL_BIN:-$(_readaccountconf_mutable MAIL_BIN)}" MAIL_BIN="${MAIL_BIN:-$(_readaccountconf_mutable MAIL_BIN)}"
if [ -n "$MAIL_BIN" ] && ! _exists "$MAIL_BIN"; then if [ -n "$MAIL_BIN" ] && ! _exists "$MAIL_BIN"; then
_err "It seems that the command $MAIL_BIN is not in path." _err "It seems that the command $MAIL_BIN is not in path."

Loading…
Cancel
Save