summaryrefslogtreecommitdiff
path: root/rhautoimport
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport')
-rwxr-xr-xrhautoimport2
1 files changed, 1 insertions, 1 deletions
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