From 54dff355329ed5be071dbc15e4b21d826af15f1a Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Fri, 14 Feb 2003 19:05:34 +0000 Subject: delete $W in trap handler --- libexec/spamd/spamd-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec/spamd') 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 -- cgit v1.2.3