]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix typo
authorMark Andrews <marka@isc.org>
Mon, 19 Mar 2018 11:31:22 +0000 (22:31 +1100)
committerMark Andrews <marka@isc.org>
Mon, 19 Mar 2018 11:31:22 +0000 (22:31 +1100)
bin/tests/system/statistics/tests.sh

index f1cdf48f1f7ba60dafebd32c902c64e626a3a145..3dc04099c4f9bda71d2ef89a29c81d7c0a0650d7 100644 (file)
@@ -71,7 +71,7 @@ $RNDCCMD -s 10.53.0.3 stats > /dev/null 2>&1
 [ -f ns3/named.stats ] || ret=1
 [ "$CYGWIN" ] || \
 nsock0nstat=`grep "UDP/IPv4 sockets active" ns3/named.stats | awk '{print $1}'`
-[ 0 -ne ${nsock0nstat:0} ] || ret=1
+[ 0 -ne ${nsock0nstat:-0} ] || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 n=`expr $n + 1`