mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Handle non-zero return codes in upforwd test
(cherry picked from commit 855f5b143a)
This commit is contained in:
parent
ffa70cad1a
commit
09cc0a03f5
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ ret=0
|
|||
update add another.unsigned.example. 600 TXT Bar
|
||||
send
|
||||
EOF
|
||||
} > nsupdate.out.$n 2>&1
|
||||
} > nsupdate.out.$n 2>&1 && ret=1
|
||||
grep REFUSED nsupdate.out.$n > /dev/null || ret=1
|
||||
if [ $ret != 0 ] ; then echo_i "failed"; status=$((status + ret)); fi
|
||||
n=$((n + 1))
|
||||
|
|
|
|||
Loading…
Reference in a new issue