Do not patch TERM on work server

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-01-12 19:03:46 +01:00
parent a824953ded
commit bd3ac133ac
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -37,4 +37,5 @@ step "Loading key ${KEY_NAME}"
vault-sshadd "${KEY_NAME}" vault-sshadd "${KEY_NAME}"
step "Executing ssh" step "Executing ssh"
exec env TERM=xterm-color ssh -p ${PORT} "${HOST}" "$@" [[ $HOST == workwork.cloud.kserver.biz ]] || export TERM=xterm-color
exec ssh -p ${PORT} "${HOST}" "$@"