diff --git a/usr/local/share/bastille/common.sh b/usr/local/share/bastille/common.sh index 1220fb20..3ef2aeda 100644 --- a/usr/local/share/bastille/common.sh +++ b/usr/local/share/bastille/common.sh @@ -38,7 +38,7 @@ enable_color() { } # If "NO_COLOR" environment variable is present, disable output colors. -if ! export | grep -q "NO_COLOR"; then +if [ -z "${NO_COLOR}" ]; then enable_color fi