From: Jozsef Kadlecsik Date: Wed, 16 Mar 2016 08:01:56 +0000 (+0100) Subject: Suppress unnecessary stderr in command loop for resize and list X-Git-Tag: v6.29~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2b58fe3c45933957ec38161fc255a0f88333d14;p=thirdparty%2Fipset.git Suppress unnecessary stderr in command loop for resize and list --- diff --git a/tests/resize-and-list.sh b/tests/resize-and-list.sh index d6fab7be..78d521c3 100755 --- a/tests/resize-and-list.sh +++ b/tests/resize-and-list.sh @@ -5,6 +5,6 @@ ipset=${IPSET_BIN:-../src/ipset} n=0 while [ $n -ne 8161 ]; do # echo $n - n=`$ipset -S resize-test | wc -l` + n=`$ipset -S resize-test 2>/dev/null| wc -l` done $ipset x