o Add missed $start variable in the grep statement back.

PR:		conf/96658
Submitted by:	James Snow
MFC after:	1 week
This commit is contained in:
maxim 2006-06-11 20:39:12 +00:00
parent 10be3320d8
commit 0fee9bcf8f

View File

@ -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