]> 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:57:21 +0000 (22:57 +1100)
(cherry picked from commit 6e4b5f23454fe44daecf0971be6a5552e17d7718)

bin/tests/system/statistics/tests.sh

index 062f58485c6ff40d3b34039631de83cea2f85b8c..15c8c6d9ece6901f25b223debc7d53af79e8f30a 100644 (file)
@@ -75,7 +75,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`