From c5cffb501763c355299e593d16089fa5e56097b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sun, 21 Oct 2007 18:51:51 +0200 Subject: Fix broken terminal detection, disable colors when the terminal is unknown. --- functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions b/functions index acbea4d..8b5ecf1 100644 --- a/functions +++ b/functions @@ -30,6 +30,8 @@ if [ -n "${TERM_COLORS}" ]; then [ "${TERM_COLORS}" -lt 8 ] && USECOLOR="" ;; esac +else + USECOLOR="" fi unset TERM_COLORS -- cgit v1.2.3