mirror of https://github.com/jetkvm/kvm.git
set TERM to dumb if not set
This commit is contained in:
parent
c9ad68a3ec
commit
01bc0e726c
|
|
@ -3,6 +3,8 @@
|
||||||
# Exit immediately if a command exits with a non-zero status
|
# Exit immediately if a command exits with a non-zero status
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
TERM="${TERM:-dumb}"
|
||||||
|
|
||||||
C_RST="$(tput sgr0)"
|
C_RST="$(tput sgr0)"
|
||||||
C_ERR="$(tput setaf 1)"
|
C_ERR="$(tput setaf 1)"
|
||||||
C_OK="$(tput setaf 2)"
|
C_OK="$(tput setaf 2)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue