summaryrefslogtreecommitdiff
path: root/rhautoimport
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-17 15:45:23 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-17 15:45:23 (GMT)
commit43613383b248e4c6d8ccfdac98ec114f127290d7 (patch)
tree2df9122fbd4732f3588288d6ad6bcb5e18798d13 /rhautoimport
parentc37171a835f9a6abf45c8fef5f1564ed02e4d611 (diff)
(re)added binmode(utf8)
added special return code wich means success with errors
Diffstat (limited to 'rhautoimport')
-rwxr-xr-xrhautoimport3
1 files changed, 3 insertions, 0 deletions
diff --git a/rhautoimport b/rhautoimport
index 1ffd50f..4901dc2 100755
--- a/rhautoimport
+++ b/rhautoimport
@@ -69,6 +69,9 @@ fi
0)
bsd-mailx -a "Content-Type: text/plain; charset=utf-8" -s "$TITLE - Imported Successfully" $MAIL_TO < $LOG_FILE
;;
+ 23)
+ bsd-mailx -a "Content-Type: text/plain; charset=utf-8" -s "$TITLE - Imported Successfully (partially failed - check log!)" $MAIL_TO < $LOG_FILE
+ ;;
42)
# do nothing - the script didn't import anything but no message should be sent
;;