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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2b58fe3c45933957ec38161fc255a0f88333d14;p=ipset 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 d6fab7b..78d521c 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