]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
stderr to /dev/null also
authorMark Andrews <marka@isc.org>
Wed, 4 Oct 2017 08:26:44 +0000 (19:26 +1100)
committerMark Andrews <marka@isc.org>
Wed, 4 Oct 2017 08:26:44 +0000 (19:26 +1100)
bin/tests/system/conf.sh.in

index 65192a54c22db9a745b0dfa2ba3f6d364c699502..923eeb9a00df9947837e7867eb4b5e8e86f620b1 100644 (file)
@@ -138,7 +138,7 @@ NZD=@NZD_TOOLS@
 #
 # Set up color-coded test output
 #
-if test -t 1 && type tput > /dev/null; then
+if test -t 1 && type tput > /dev/null 2>&1 ; then
     COLOR_FAIL=`tput setaf 1`   # red
     COLOR_WARN=`tput setaf 3`   # yellow
     COLOR_PASS=`tput setaf 2`   # green