Update smtp.sh

This commit is contained in:
CharlieYu 2021-01-16 01:28:26 +08:00 committed by GitHub
parent 3243860859
commit bc393a4741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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