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