From 0fee9bcf8f1eaed64f63be77ff2b2e291064f8eb Mon Sep 17 00:00:00 2001 From: maxim Date: Sun, 11 Jun 2006 20:39:12 +0000 Subject: o Add missed $start variable in the grep statement back. PR: conf/96658 Submitted by: James Snow MFC after: 1 week --- etc/periodic/daily/470.status-named | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/periodic') diff --git a/etc/periodic/daily/470.status-named b/etc/periodic/daily/470.status-named index d78f465..987029e 100755 --- a/etc/periodic/daily/470.status-named +++ b/etc/periodic/daily/470.status-named @@ -31,7 +31,7 @@ case "$daily_status_named_enable" in start=`date -v-1d '+%b %e'` rc=$(catmsgs | - fgrep -E ".*named\[[[:digit:]]+\]: transfer of .*failed .*: REFUSED" | + fgrep -E "^$start.*named\[[[:digit:]]+\]: transfer of .*failed .*: REFUSED" | sed -e "s/.*transfer of \'\(.*\)\/IN\' from \(.*\)#[0-9]*: .*/\1 from \2/" | sort -f | uniq -ic | ( usedns=0 -- cgit v1.1