summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BitKeeper/triggers/post-outgoing.ciabot2
1 files changed, 2 insertions, 0 deletions
diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot
index 8e1a327c71..0657f9a825 100644
--- a/BitKeeper/triggers/post-outgoing.ciabot
+++ b/BitKeeper/triggers/post-outgoing.ciabot
@@ -86,6 +86,7 @@ fi
if [ X$BK_CSETLIST != X ]
then
+if ! test -z "`cat $BK_CSETLIST`"; then
echo "Sending notification mail to $COMMITADDRESS..."
(
@@ -101,4 +102,5 @@ echo repository={green}${R_OUT}{normal} $U_OUT
) | mail -s "Announce `echo -n $IRCCHANNEL | sed 's,.*/,,'`" $COMMITADDRESS
echo "done."
fi
+fi
exit 0