about summary refs log tree commit homepage
path: root/scripts/dc-dlvr
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-06 01:52:07 +0000
committerEric Wong <e@80x24.org>2016-07-06 07:12:45 +0000
commite8b1d667bb008269dc48e4c473230379efefa06c (patch)
treef5d1dd11d0976e98af9e429253ab1cb72f4e1f9e /scripts/dc-dlvr
parent923147e793af18d20e3d4468cca4687b76a1f097 (diff)
downloadpublic-inbox-e8b1d667bb008269dc48e4c473230379efefa06c.tar.gz
Oops :x
Diffstat (limited to 'scripts/dc-dlvr')
-rwxr-xr-xscripts/dc-dlvr3
1 files changed, 2 insertions, 1 deletions
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: