mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Handle non-zero return codes in wildcard test
This commit is contained in:
@@ -249,7 +249,7 @@ ret=0
|
|||||||
i=0
|
i=0
|
||||||
while test $i -lt 256
|
while test $i -lt 256
|
||||||
do
|
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
|
$DIG $DIGOPTS @10.53.0.1 "\\$x.example" TXT > dig.out.ns1.$x.test$n
|
||||||
if test $i -le 32 -o $i -ge 127
|
if test $i -le 32 -o $i -ge 127
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user