summaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-04-28 01:34:17 -0500
committerJesse Luehrs <doy@tozt.net>2009-04-28 01:34:17 -0500
commit7407f2ad37d7a982514ac34cc9616f86ca906acb (patch)
treee78ac7a327b6ca963f3fe500d9a726e2b287c18a /bash
parente05c97ad19d082094cdb9476680d14da3220f390 (diff)
downloadconf-7407f2ad37d7a982514ac34cc9616f86ca906acb.tar.gz
conf-7407f2ad37d7a982514ac34cc9616f86ca906acb.zip
ignore errors in tput
Diffstat (limited to 'bash')
-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