summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2014-01-03 22:55:49 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2014-01-03 22:55:49 +0530
commitbefa1b544a80090f0b5ccadfcadffa6d1f1fb2b6 (patch)
tree9086eaaa8271cf54f2cfe0f8b1a4a12bba3648e0
parent38f87e6d3c9634cfccb09525ac91625f7bfb37da (diff)
gitblag barfs out if it has sent the emails.
-rwxr-xr-xsrc/gitblag.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gitblag.sh b/src/gitblag.sh
index 4f00bb2..bcf0e7f 100755
--- a/src/gitblag.sh
+++ b/src/gitblag.sh
@@ -213,11 +213,13 @@ else
if [ -n "$recipients" ]; then
# send to mailinglist.
generate_email $recipients | send_mail
+ echo "Sent email to $recipients"
fi
if [ -n "$recipientlist" ]; then
# send each email ID listed in recipient list file.
process_recipient_list
+ echo "Sent email to all recipients in $recipientlist"
fi
done
fi