Add warn-smtp-queue.
This commit is contained in:
parent
0ed6cfeb4a
commit
105ac87aa9
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ done
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Send the message.
|
||||||
if [[ -n "${EMAIL_TO[*]}" ]]; then
|
if [[ -n "${EMAIL_TO[*]}" ]]; then
|
||||||
mailx "${MAILX_ARGS[@]}" -S "from=$EMAIL_FROM" -s "Git statuses" "${EMAIL_TO[@]}" <<<"$(cat "$OUTPUT_FILE")" 2>/dev/null || {
|
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
|
printf "%s: %s\\n" "${0##*/}" "mailx command failed" >&2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue