- echo "$FAILURE_MESSAGE" >> "$SACONFIG/failed_update"
- echo "$FAILURE_MESSAGE";
- echo
- echo "update_spamassassin will not report any additional errors until this is fixed"
+ echo "$FAILUREMESSAGE" > "$SACONFIG/failed_update"
+ echo "$FAILUREMESSAGE";
+ cat - <<EOF;
+
+update_spamassassin will only report this error once a day, and
+updates will not occur until this is fixed.
+
+Please fix the problem and then remove
+$SACONFIG/failed_update
+EOF
+ rm -rf "$TMPDIR"