aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/functions.sh2
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