2
0
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:
Tom Krizek
2023-06-19 13:58:01 +02:00
parent 69e8876966
commit e8c61f8da4

View File

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