Skip to content

Commit

Permalink
fix: ensure that wstunnel doesn't output colours to the shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Feb 15, 2024
1 parent c656575 commit 68d5ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wstunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" &
Expand Down

0 comments on commit 68d5ba5

Please sign in to comment.