playbook/_common: Also change TERM var for TERM=unknown

master
Felix Stupp 5 years ago
parent 423f28c469
commit 7aa401dc38
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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

Loading…
Cancel
Save