Add warn-smtp-queue.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-06 17:20:36 +00:00
commit 105ac87aa9

View file

@ -24,6 +24,7 @@ done
exit 0
}
# Send the message.
if [[ -n "${EMAIL_TO[*]}" ]]; then
mailx "${MAILX_ARGS[@]}" -S "from=$EMAIL_FROM" -s "Git statuses" "${EMAIL_TO[@]}" <<<"$(cat "$OUTPUT_FILE")" 2>/dev/null || {
printf "%s: %s\\n" "${0##*/}" "mailx command failed" >&2