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:
parent
d85e6785c5
commit
e64917677e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159525
@ -31,7 +31,7 @@ case "$daily_status_named_enable" in
|
|||||||
|
|
||||||
start=`date -v-1d '+%b %e'`
|
start=`date -v-1d '+%b %e'`
|
||||||
rc=$(catmsgs |
|
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/" |
|
sed -e "s/.*transfer of \'\(.*\)\/IN\' from \(.*\)#[0-9]*: .*/\1 from \2/" |
|
||||||
sort -f | uniq -ic | (
|
sort -f | uniq -ic | (
|
||||||
usedns=0
|
usedns=0
|
||||||
|
Loading…
Reference in New Issue
Block a user