From 43b9baab8a85123b4f152cf0cbf450d869db1f0f Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 27 Nov 2011 21:52:01 +0100 Subject: [PATCH] lsb-functions: fix logic of RC_NOCOLOR check for RC_ENDCOL --- etc/grml/lsb-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ] -- 2.1.4