diff options
author | Thomas Bächler <thomas@archlinux.org> | 2007-10-21 18:51:51 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2007-10-21 18:51:51 +0200 |
commit | c5cffb501763c355299e593d16089fa5e56097b2 (patch) | |
tree | 7f9dfd4672db205b878ba8163fa733c4318debe3 | |
parent | e3f7fc94d40e13f65e00adb3d7c48fb6f790c7d7 (diff) | |
download | initscripts-c5cffb501763c355299e593d16089fa5e56097b2.tar.xz |
Fix broken terminal detection, disable colors when the terminal is unknown.
-rw-r--r-- | functions | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ if [ -n "${TERM_COLORS}" ]; then [ "${TERM_COLORS}" -lt 8 ] && USECOLOR="" ;; esac +else + USECOLOR="" fi unset TERM_COLORS |