From 494d811c327e9ca74bc1264bce83afe80a2776cb Mon Sep 17 00:00:00 2001 From: JRGTH Date: Thu, 15 Jul 2021 12:32:37 -0400 Subject: [PATCH] Use statement here --- usr/local/share/bastille/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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