diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-03-13 16:34:08 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-03-13 16:34:08 (GMT) |
commit | 4717cfc5551c9dfc39f19da5ba425b88cfe15860 (patch) | |
tree | dfd36e33cd699003c05aa1ddf7bcc6bc11301325 /rhautoimport | |
parent | 0e25e776737341c46ad4229f95e4244796d7f7b9 (diff) |
allow comments in mail files
Diffstat (limited to 'rhautoimport')
-rwxr-xr-x | rhautoimport | 2 |
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 |