summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash/colors2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/colors b/bash/colors
index 9360898..8b6c96f 100644
--- a/bash/colors
+++ b/bash/colors
@@ -1,6 +1,6 @@
function test_tput {
local tmp
- [[ -x "$(which tput)" ]] || return 1
+ [[ -x "$(which tput 2>/dev/null)" ]] || return 1
tmp=$(tput setf 0)
}
if test_tput; then