From 105ac87aa944259ebec01d8fefac76851f024271 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Mon, 6 Nov 2023 17:20:36 +0000 Subject: [PATCH] Add warn-smtp-queue. --- warn-git-status | 1 + 1 file changed, 1 insertion(+) diff --git a/warn-git-status b/warn-git-status index 931504f..641ec13 100755 --- a/warn-git-status +++ b/warn-git-status @@ -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