diff options
author | maxim <maxim@FreeBSD.org> | 2006-06-11 20:39:12 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-06-11 20:39:12 +0000 |
commit | 0fee9bcf8f1eaed64f63be77ff2b2e291064f8eb (patch) | |
tree | 055077a8c56dea289f5bb95d323b0cb15e9e9da7 /etc | |
parent | 10be3320d84f39b175a9c4953aa07a8a91eeff8b (diff) | |
download | FreeBSD-src-0fee9bcf8f1eaed64f63be77ff2b2e291064f8eb.zip FreeBSD-src-0fee9bcf8f1eaed64f63be77ff2b2e291064f8eb.tar.gz |
o Add missed $start variable in the grep statement back.
PR: conf/96658
Submitted by: James Snow
MFC after: 1 week
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/periodic/daily/470.status-named | 2 |
1 files changed, 1 insertions, 1 deletions
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 |