fix: fix mailx argument
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ function send_mail() {
|
||||
local MAIL_VERBOSE="-v"
|
||||
fi
|
||||
|
||||
echo "$2" | mailx "${MAIL_VERBOSE}" -s "$1" ${MAIL_SMTP_VARIABLES} "${MAIL_TO}"
|
||||
echo "$2" | mailx ${MAIL_VERBOSE} -s "$1" ${MAIL_SMTP_VARIABLES} "${MAIL_TO}"
|
||||
if [[ $? != 0 ]]; then
|
||||
color red "mail sending failed"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user