From: Michael Prokop Date: Sun, 27 Nov 2011 20:52:01 +0000 (+0100) Subject: lsb-functions: fix logic of RC_NOCOLOR check for RC_ENDCOL X-Git-Tag: v0.4.03~1 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=43b9baab8a85123b4f152cf0cbf450d869db1f0f;p=grml-etc-core.git lsb-functions: fix logic of RC_NOCOLOR check for RC_ENDCOL --- diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index ceffb0c..d95be1d 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -177,9 +177,9 @@ RC_NOCOLOR="${RC_NOCOLOR:-no}" # Can the terminal handle endcols? if [ "${RC_NOCOLOR}" = "yes" ]; then - RC_ENDCOL="yes" -else RC_ENDCOL="no" +else + RC_ENDCOL="yes" fi # Setup COLS and ENDCOL so eend can line up the [ ok ]