diff options
author | Roy Marples <roy@marples.name> | 2007-11-22 12:20:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-22 12:20:40 +0000 |
commit | ee61f4630920d576d7c875e72547c98e227e7c66 (patch) | |
tree | 658ca2f44b575611376b2733064920f8db551d23 /sh | |
parent | 4b28587704ea31788f91f27d71b9aa96a45afc9c (diff) |
Use yesno
Diffstat (limited to 'sh')
-rw-r--r-- | sh/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/functions.sh b/sh/functions.sh index 2be38a65..79aeb3bf 100644 --- a/sh/functions.sh +++ b/sh/functions.sh @@ -164,7 +164,7 @@ for arg in "$@" ; do esac done -if [ "${RC_NOCOLOR}" != "yes" -a -z "${GOOD}" ] ; then +if [ -z "${GOOD}" ] && ! yesno "${RC_NOCOLOR}"; then eval $(eval_ecolors) fi |