From: Eric Wong Date: Wed, 6 Jul 2016 01:52:07 +0000 (+0000) Subject: scripts/dc-dlvr: ensure temporary files are removed X-Git-Tag: v1.0.0~311 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e8b1d667bb008269dc48e4c473230379efefa06c;hp=923147e793af18d20e3d4468cca4687b76a1f097;p=public-inbox.git scripts/dc-dlvr: ensure temporary files are removed Oops :x --- diff --git a/scripts/dc-dlvr b/scripts/dc-dlvr index 5ebca3fe..a38760f5 100755 --- a/scripts/dc-dlvr +++ b/scripts/dc-dlvr @@ -25,7 +25,8 @@ cat >$CDMSG $CLAMDSCAN --quiet - <$CDMSG if test $? -eq 1 then - exec $DELIVER -m INBOX.spam <$CDMSG + $DELIVER -m INBOX.spam <$CDMSG + exec rm -f $rm_list fi # pre-filter, for infrequently read lists which do their own spam filtering: