From d141ebdb43e7f7895634aa7c41481be4cb8e9455 Mon Sep 17 00:00:00 2001 From: z0rc Date: Sat, 5 Oct 2024 14:54:49 +0000 Subject: [PATCH] tuning --- vncroulette_setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vncroulette_setup.sh b/vncroulette_setup.sh index 9b75b22..07b9419 100644 --- a/vncroulette_setup.sh +++ b/vncroulette_setup.sh @@ -1,3 +1,5 @@ vncroulette() { - vncviewer "$(curl "https://computernewb.com/vncresolver/api/scans/vnc/random" | jq -r '.["ip","port"]' | tr '\n' ':' | sed 's/:$//')" + host="$(curl -sS "https://computernewb.com/vncresolver/api/scans/vnc/random" | jq -r '.["ip","port"]' | tr '\n' ':' | sed 's/:$//')" + echo "Connecting to ${host}..." + vncviewer "${host}" }