Use yesno
This commit is contained in:
parent
4b28587704
commit
ee61f46309
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user