From 68d5ba5ad12a6be9b544a8be4c140d9442bc9767 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 15 Feb 2024 19:55:14 +0000 Subject: [PATCH] fix: ensure that wstunnel doesn't output colours to the shell --- wstunnel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wstunnel.sh b/wstunnel.sh index d8c53d8..c2af620 100755 --- a/wstunnel.sh +++ b/wstunnel.sh @@ -89,9 +89,9 @@ launch_wstunnel () { cmd=$(command -v wstunnel) cmd="sudo -n -u ${user} -- $cmd" + export NO_COLOR=true nohup $cmd &>/dev/null \ client \ - --no-color NO_COLOR \ --http-upgrade-path-prefix "${prefix}" \ -L "udp://127.0.0.1:${lport}:127.0.0.1:${rport}" \ "wss://${host}:${wssport}" &