X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Flsb-functions;h=d72076fc9790717215b82470309fa8829c00d83b;hb=refs%2Ftags%2F0.3.27;hp=11ddbcfc86a99b528906dda89ef70c5815344873;hpb=746a0bd382dffe981e3b1ffe23ce0d8bacb9d350;p=grml-etc-core.git diff --git a/etc/grml/lsb-functions b/etc/grml/lsb-functions index 11ddbcf..d72076f 100644 --- a/etc/grml/lsb-functions +++ b/etc/grml/lsb-functions @@ -143,6 +143,7 @@ RC_DOT_PATTERN='' if [ -r /proc/cmdline ] ; then grep -q ' nocolor' /proc/cmdline && RC_NOCOLOR='yes' fi +[ -n "$NOCOLORS" ] && RC_NOCOLOR='yes' RC_NOCOLOR="${RC_NOCOLOR:-no}" # Can the terminal handle endcols?