Handle non-zero return codes in statistics test

(cherry picked from commit 3a36ff506d)
This commit is contained in:
Tom Krizek 2023-06-19 17:05:17 +02:00
parent a460982af7
commit 716d8f43e0
No known key found for this signature in database
GPG key ID: 01623B9B652A20A7

View file

@ -89,7 +89,7 @@ status=$((status + ret))
n=$((n + 1))
echo_i "sending queries to ns3"
$DIGCMD +tries=2 +time=1 +recurse @10.53.0.3 foo.info. any > /dev/null 2>&1
$DIGCMD +tries=2 +time=1 +recurse @10.53.0.3 foo.info. any > /dev/null 2>&1 || true
ret=0
echo_i "dumping updated stats for ns3 ($n)"