MAIL_HOST => SEND_MAIL_HOST
[why] because MAIL_HOST is duplicate variable name, $MAIL_HOST is $SEND_MAIL_HOST.
Signed-off-by: Liu Yinsi liuyinsi@163.com --- lib/email.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/email.sh b/lib/email.sh index bca4ab435..4f1055033 100755 --- a/lib/email.sh +++ b/lib/email.sh @@ -87,5 +87,5 @@ send_email()
${subject}_content
- curl -XPOST "${MAIL_HOST:-$LKP_SERVER}:${MAIL_PORT:-10001}/send_mail_text" -d "$email_content" + curl -XPOST "${SEND_MAIL_HOST:-$LKP_SERVER}:${SEND_MAIL_PORT:-10001}/send_mail_text" -d "$email_content" }