summaryrefslogtreecommitdiffstats
path: root/functions.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'functions.sh.in')
-rw-r--r--functions.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.sh.in b/functions.sh.in
index 4f2c023..ea21f25 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -243,7 +243,9 @@ enable_colors() {
BLUE="\033[1;34m"
}
-if [ -n "$USE_COLORS" ] && [ -t 1 ]; then
+if [ "$USE_COLORS" = force ]; then
+ enable_colors
+elif [ -n "$USE_COLORS" ] && [ -t 1 ]; then
enable_colors
else
disable_colors