From ff92db2e5401f79a2721d2ffc20cbd21cb15f109 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 23 Sep 2007 18:12:06 +0200 Subject: [PATCH 1/1] delete file after resubmitting it --- bin/resubmit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/resubmit b/bin/resubmit index 01990b2..63f8a02 100755 --- a/bin/resubmit +++ b/bin/resubmit @@ -6,5 +6,7 @@ PROCMAIL=$HOME/.etc/mailfilter/procmail/procmailrc if [ -z "$1" ]; then cat | exec $PROCMAIL else - exec $PROCMAIL < "$1" + $PROCMAIL < "$1" && rm -f "$1" fi + +exit 0 -- 2.39.5