diff options
author | brian <brian@FreeBSD.org> | 1997-08-01 01:25:21 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-01 01:25:21 +0000 |
commit | 4099136ec60cc40b770715039f07da54677b7728 (patch) | |
tree | 404c3acc7dc937b6936627325c55347eb1b7a86c /etc | |
parent | b816202ef3e8222e149571fe74ef19dde3d22f55 (diff) | |
download | FreeBSD-src-4099136ec60cc40b770715039f07da54677b7728.zip FreeBSD-src-4099136ec60cc40b770715039f07da54677b7728.tar.gz |
Remove the annoying "cmp: EOF" message when
dmesg changes.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index bbd8d8c..0943c3c 100644 --- a/etc/security +++ b/etc/security @@ -1,7 +1,7 @@ #!/bin/sh - # # @(#)security 5.3 (Berkeley) 5/28/91 -# $Id: security,v 1.19 1997/02/23 21:34:34 mpp Exp $ +# $Id: security,v 1.20 1997/03/03 07:03:50 mpp Exp $ # PATH=/sbin:/bin:/usr/bin LC_ALL=C; export LC_ALL @@ -75,7 +75,7 @@ if dmesg 2>/dev/null > $TMP; then echo "no $LOG/dmesg.today" cp $TMP $LOG/dmesg.today fi - if cmp $LOG/dmesg.today $TMP >/dev/null; then :; else + if cmp $LOG/dmesg.today $TMP >/dev/null 2>&1; then :; else separator echo "$host kernel log messages:" diff -b $LOG/dmesg.today $TMP | egrep "^>" |