artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74a05bc
)
No point in ls'ing the template, it will never exist.
author
millert
<millert@openbsd.org>
Fri, 3 Jan 1997 22:51:26 +0000
(22:51 +0000)
committer
millert
<millert@openbsd.org>
Fri, 3 Jan 1997 22:51:26 +0000
(22:51 +0000)
etc/daily
patch
|
blob
|
history
diff --git
a/etc/daily
b/etc/daily
index
ae46fed
..
4fb4376
100644
(file)
--- a/
etc/daily
+++ b/
etc/daily
@@
-1,6
+1,6
@@
#!/bin/sh -
#
-# $OpenBSD: daily,v 1.1
5 1996/12/15 19:11:54
millert Exp $
+# $OpenBSD: daily,v 1.1
6 1997/01/03 22:51:26
millert Exp $
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local
host=`hostname -s`
@@
-12,10
+12,8
@@
if [ -f /etc/daily.local ];then
. /etc/daily.local
fi
-TMP=`mktemp /tmp/_daily.XXXXXX` || {
- ls -ldgT $TMP
- exit 1
-}
+TMP=`mktemp /tmp/_daily.XXXXXX` || exit 1
+
trap 'rm -f $TMP' 0 1 15
echo ""