stderr to /dev/null also

This commit is contained in:
Mark Andrews
2017-10-04 19:26:44 +11:00
parent d1e823af15
commit 4615bc5408

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