summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2006-10-04 04:43:21 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2006-10-04 04:43:21 +0000
commit9475e70c3ebe2fb3d62b1a4c973b63e2c18f2e8c (patch)
treedcf0c0aa78f63f045614953fc55a380009b9db77 /etc
parent78712dfb44085ae231d8274a64f05dc9797d3d64 (diff)
Exit when asked to. OK by deraadt, spotted by lumpy.
Diffstat (limited to 'etc')
-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:"