summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/git/git-utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git/git-utils.sh b/tools/git/git-utils.sh
index d89dc5d..6f347cb 100644
--- a/tools/git/git-utils.sh
+++ b/tools/git/git-utils.sh
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-TPUT=$(which tput)
+TPUT=$(which tput 2>/dev/null)
if test -x "$TPUT" && $TPUT setaf 1 >/dev/null ; then
RED="$($TPUT setaf 1)"
NORMAL="$($TPUT op)"