X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/15c8a9a5d97f1d2ac843765a35a02690c8a73148..1c67d1bba28dc080b2fbd46b5275f5489e00f333:/bin/retrain diff --git a/bin/retrain b/bin/retrain index fa7a244..b1ccca1 100755 --- a/bin/retrain +++ b/bin/retrain @@ -55,6 +55,10 @@ find $MAILDIR/cur $MAILDIR/new -type f | while read msg; do $NICE ${0%/*}/train $ARG "$msg" | $RESUBMIT || ret=$? case "${ret:-0}" in 0|75) :;; + *) + echo "E: resubmission returned with exit code $ret" >&2 + continue + ;; esac rm -f "$msg" sleep $PAUSETIME