From bc393a47412960d77396c74257ce4130165adb9f Mon Sep 17 00:00:00 2001 From: CharlieYu Date: Sat, 16 Jan 2021 01:28:26 +0800 Subject: [PATCH] Update smtp.sh --- notify/smtp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify/smtp.sh b/notify/smtp.sh index 4c06bd3d..4ef3fd14 100644 --- a/notify/smtp.sh +++ b/notify/smtp.sh @@ -75,7 +75,7 @@ _smtp_send() { _debug "smtp_send_output" "$smtp_send_output" - if [ $smtp_send_output =~ "message not sent" ]; then + if [[ $smtp_send_output =~ "message not sent" ]]; then return 1 else return 0