Browse Source

Correctly check empty mailq, closes PR 1602 (cjclark@alum.mit.edu)

OPENBSD_2_9
angelos 24 years ago
parent
commit
65a3864266
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 -
#
# $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


Loading…
Cancel
Save