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