summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/email2irc.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/email2irc.sh b/bin/email2irc.sh
index 02f10efc..1da5f410 100755
--- a/bin/email2irc.sh
+++ b/bin/email2irc.sh
@@ -98,7 +98,10 @@ done
if [ -z $JENKINS_JOB ] ; then
VALID_MAIL=false
fi
-debug123 "#5" MY_LINE $MY_LINE
+debug123 "#7" MY_LINE $MY_LINE
+# remove bogus noise
+MY_LINE=$(echo $MY_LINE | sed -s "s#------------------------------------------##g")
+debug123 "#8" MY_LINE $MY_LINE
# only send notifications for valid emails
if [ "$VALID_MAIL" = "true" ] ; then