summaryrefslogtreecommitdiff
path: root/etc/daily
diff options
context:
space:
mode:
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/daily b/etc/daily
index d5a832b8070..1e58990773e 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: daily,v 1.53 2005/12/06 20:18:56 pedro Exp $
+# $OpenBSD: daily,v 1.54 2006/10/04 04:43:20 hugh Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@@ -21,7 +21,7 @@ OUT=`mktemp /tmp/_security.XXXXXXXXXX` || {
exit 1
}
-trap 'rm -f $TMP $OUT' 0 1 15
+trap 'rm -f $TMP $OUT ;exit 1' 0 1 15
echo ""
echo "Removing scratch and junk files:"