Browse Source

Exit when asked to. OK by deraadt, spotted by lumpy.

OPENBSD_4_1
hugh 18 years ago
parent
commit
bfa0f6647a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/daily

+ 2
- 2
src/etc/daily View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # From: @(#)daily 8.2 (Berkeley) 1/25/94
# #
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@ -21,7 +21,7 @@ OUT=`mktemp /tmp/_security.XXXXXXXXXX` || {
exit 1 exit 1
} }
trap 'rm -f $TMP $OUT' 0 1 15
trap 'rm -f $TMP $OUT ;exit 1' 0 1 15
echo "" echo ""
echo "Removing scratch and junk files:" echo "Removing scratch and junk files:"


Loading…
Cancel
Save