feat: remove excess local

This commit is contained in:
ttionya
2025-08-02 14:19:11 +08:00
parent 1c839c4717
commit ee7bc24734
+1 -1
View File
@@ -128,7 +128,7 @@ function send_mail() {
fi
fi
if [[ -n "${MAIL_TEMPLATE}" ]]; then
local MAIL_TEMPLATE_FLAG="-t"
MAIL_TEMPLATE_FLAG="-t"
fi
echo -e "${MAIL_TEMPLATE}$2" | eval "mail ${MAIL_VERBOSE_FLAG} ${MAIL_TEMPLATE_FLAG} -s \"$1\" ${MAIL_SMTP_VARIABLES} \"${MAIL_TO}\""