From 7aa401dc38cd33783414df7ae783fabeb8dbf16f Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 17 Apr 2020 10:37:13 +0200 Subject: [PATCH] playbook/_common: Also change TERM var for TERM=unknown --- playbook/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook/_common.sh b/playbook/_common.sh index b65285d..21771fc 100644 --- a/playbook/_common.sh +++ b/playbook/_common.sh @@ -1,6 +1,6 @@ set -euo pipefail; export TERM="${TERM:-linux}"; # Fix term var if launched without term -if [ "$TERM" = "dumb" ]; then +if [ "$TERM" = "dumb" -o "$TERM" = "unknown" ]; then export TERM=linux; fi tput civis; # Hide cursor