summaryrefslogtreecommitdiff
path: root/libexec/spamd
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-14 19:05:34 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-14 19:05:34 +0000
commit54dff355329ed5be071dbc15e4b21d826af15f1a (patch)
treeb5e950fe8640559062cef129db914220303e3286 /libexec/spamd
parente7043a92b0d4f8485b70e2eab2d6212753a13fce (diff)
delete $W in trap handler
Diffstat (limited to 'libexec/spamd')
-rw-r--r--libexec/spamd/spamd-setup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/spamd/spamd-setup.sh b/libexec/spamd/spamd-setup.sh
index 8e9c6e1e7f3..4b83b45edc5 100644
--- a/libexec/spamd/spamd-setup.sh
+++ b/libexec/spamd/spamd-setup.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# $OpenBSD: spamd-setup.sh,v 1.7 2003/02/14 05:51:57 jason Exp $
+# $OpenBSD: spamd-setup.sh,v 1.8 2003/02/14 19:05:33 jason Exp $
#
# Copyright (c) 2002 Theo de Raadt. All rights reserved.
#
@@ -47,8 +47,8 @@ W=`mktemp /tmp/_spamwXXXXXX` || {
rm -f ${R}
exit 1
}
-trap "rm -f $R; exit 0" 0
-trap "rm -f $R; exit 1" 1 2 3 13 15
+trap "rm -f $R $W; exit 0" 0
+trap "rm -f $R $W; exit 1" 1 2 3 13 15
while :
do case "$1" in