From ee61f4630920d576d7c875e72547c98e227e7c66 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 22 Nov 2007 12:20:40 +0000 Subject: [PATCH] Use yesno --- sh/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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