From 4717cfc5551c9dfc39f19da5ba425b88cfe15860 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Sun, 13 Mar 2016 17:34:08 +0100
Subject: allow comments in mail files


diff --git a/rhautoimport b/rhautoimport
index 7ae49ee..4534fa7 100755
--- a/rhautoimport
+++ b/rhautoimport
@@ -56,7 +56,7 @@ case "$1" in
 esac
 
 LOG_FILE=`mktemp --tmpdir rhautoimport-XXXXXX.log`
-MAIL_TO=`cat /etc/rhautoimport/$1.mail 2> /dev/null | xargs`
+MAIL_TO=`sed 's/#.*//' /etc/rhautoimport/$1.mail 2> /dev/null | xargs`
 if [ -z "$MAIL_TO" ]; then
   MAIL_TO="root"
 fi
-- 
cgit v0.10.2