stderr to /dev/null also

(cherry picked from commit 4615bc5408)
This commit is contained in:
Mark Andrews
2017-10-04 19:26:59 +11:00
parent af6a526dfd
commit e77f7b404a
+1 -1
View 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