mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Handle non-zero return codes in wildcard test
This commit is contained in:
parent
69e8876966
commit
e8c61f8da4
@ -249,7 +249,7 @@ ret=0
|
||||
i=0
|
||||
while test $i -lt 256
|
||||
do
|
||||
x=`expr 00$i : '.*\(...\)$'`
|
||||
x=$(expr 00$i : '.*\(...\)$' || true)
|
||||
$DIG $DIGOPTS @10.53.0.1 "\\$x.example" TXT > dig.out.ns1.$x.test$n
|
||||
if test $i -le 32 -o $i -ge 127
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user