From 7407f2ad37d7a982514ac34cc9616f86ca906acb Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 28 Apr 2009 01:34:17 -0500 Subject: ignore errors in tput --- bash/colors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') 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 -- cgit v1.2.3-54-g00ecf