mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
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'`
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user