From 1d564ea83be26c8d761b0237ff67ff2226bce03b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 23 Nov 2016 15:11:44 +0100 Subject: YOLO: make irc notification grepable in logfile Signed-off-by: Holger Levsen --- bin/email2irc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/email2irc.sh b/bin/email2irc.sh index 0eaebb96..a2bb8716 100755 --- a/bin/email2irc.sh +++ b/bin/email2irc.sh @@ -114,7 +114,7 @@ if [ "$VALID_MAIL" = "true" ] ; then if [ ! -z $CHANNEL ] ; then # log message MESSAGE="$(echo $SUBJECT | cut -d ':' -f1) $(echo $MY_LINE|sed -s 's#Changes:##g') " - echo "#$CHANNEL: $MESSAGE" >> $LOGFILE + echo "Notified #$CHANNEL with $MESSAGE" >> $LOGFILE # notify kgb kgb-client --conf /srv/jenkins/kgb/$CHANNEL.conf --relay-msg "$MESSAGE" && echo "kgb informed successfully." >> $LOGFILE echo >> $LOGFILE -- cgit v1.2.3-70-g09d2