summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-01-04 06:27:45 +0000
committerangelos <angelos@openbsd.org>2001-01-04 06:27:45 +0000
commit3bfbd2d0f978e128c360e96a79c2df319627c4eb (patch)
treee1859fafe5fdf1a76f56cf93593c6027db208f1b
parentUse sysctl(3) to get the boottime, rather than kread() (diff)
downloadwireguard-openbsd-3bfbd2d0f978e128c360e96a79c2df319627c4eb.tar.xz
wireguard-openbsd-3bfbd2d0f978e128c360e96a79c2df319627c4eb.zip
Correctly check empty mailq, closes PR 1602 (cjclark@alum.mit.edu)
-rw-r--r--etc/daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/daily b/etc/daily
index fcc70d7fb86..d99b15b5126 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: daily,v 1.33 2000/05/26 17:44:33 marc Exp $
+# $OpenBSD: daily,v 1.34 2001/01/04 06:27:45 angelos Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@@ -144,7 +144,7 @@ dump W
echo ""
mailq > $TMP
-if ! grep -q "^Mail queue is empty$" $TMP; then
+if ! grep -q "^/var/spool/mqueue is empty$" $TMP; then
echo ""
echo "mail:"
cat $TMP