summaryrefslogtreecommitdiff
path: root/etc/daily
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-07 20:16:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-07 20:16:20 +0000
commit78410d33aa53450e2a867ef78e91f7e524b8ec18 (patch)
tree317c737b4548d4e5f4cd120cbb250fa8f9064750 /etc/daily
parent4241ef6bba0305757be8de44bf40b7ab8dda063e (diff)
Use `hostname` not `hostname -s` in subject for consistency with
daily, weekly, and monthly. Closes PR 3017.
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/daily b/etc/daily
index 07d6cb15dd6..dc6f8a87fb6 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,10 +1,9 @@
#!/bin/sh -
#
-# $OpenBSD: daily,v 1.40 2002/09/12 02:36:31 danh Exp $
+# $OpenBSD: daily,v 1.41 2002/12/07 20:16:19 millert Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
-host=`hostname -s`
bak=/var/backups
if [ -f /etc/daily.local ]; then
@@ -176,5 +175,5 @@ fi
sh /etc/security 2>&1 > $OUT
if [ -s $OUT ]; then
- mail -s "$host daily insecurity output" root < $OUT
+ mail -s "`hostname` daily insecurity output" root < $OUT
fi