Unverified Commit 2c611d20 authored by Ivy Foster's avatar Ivy Foster Committed by Levente Polyak

lib/common.sh: do not use colors when running on a dumb terminal

parent ca4d348c
......@@ -17,7 +17,7 @@ export LANG=C
shopt -s extglob
# check if messages are to be printed using color
if [[ -t 2 ]]; then
if [[ -t 2 && "$TERM" != dumb ]]; then
# shellcheck disable=2034
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment