X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/15c8a9a5d97f1d2ac843765a35a02690c8a73148..a1da13bec5188842b3cd49a51e0bc19521142bdf:/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