From f8e65416c46632be873e4455b9c6b9ff5dadb532 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 18 Jul 2023 03:39:44 -0400 Subject: [PATCH] fix(tools): correct receiving find tunnels output --- tools/striker-manage-vnc-pipes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/striker-manage-vnc-pipes b/tools/striker-manage-vnc-pipes index 6f01d2f5..2c5b7d48 100755 --- a/tools/striker-manage-vnc-pipes +++ b/tools/striker-manage-vnc-pipes @@ -548,7 +548,9 @@ sub start_pipe my $tp_process = $tp_processes->{pids}{$tp_pid}; - my $tunnels = find_tunnels({ tunnel_ls_path => $tp_process->{tunnel_ls_path}, %$common_params }); + ($rcode, my $tunnels) = find_tunnels({ tunnel_ls_path => $tp_process->{tunnel_ls_path}, %$common_params }); + + next if ($rcode); ($rcode) = start_tunnel({ svr_uuid => $svr_uuid,