X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Flsb-functions;h=d95be1db89c32a94323f38dc8d6bac21a6420041;hb=c0280d16a9f44830885b456241e41ff308ecfec8;hp=d55d776e21e4a8b20d72e8c9022138f14e6c3ed2;hpb=1a3788d3ee7bbc52266ca8d8324b065dca438258;p=grml-etc-core.git diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index d55d776..d95be1d 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -176,7 +176,11 @@ fi RC_NOCOLOR="${RC_NOCOLOR:-no}" # Can the terminal handle endcols? -RC_ENDCOL="yes" +if [ "${RC_NOCOLOR}" = "yes" ]; then + RC_ENDCOL="no" +else + RC_ENDCOL="yes" +fi # Setup COLS and ENDCOL so eend can line up the [ ok ] # width of [ ok ] == 7