fix(cgi-bin): insert record on new of either websockify or ssh tunnel

This commit is contained in:
Tsu-ba-me 2021-07-15 19:36:53 -04:00
parent 5459e610aa
commit 5cceb09f2a

View File

@ -858,7 +858,7 @@ sub open_vnc_pipe
return;
}
if ($ws_info->{is_new} and $ssh_tunnel_info->{is_new})
if ($ws_info->{is_new} or $ssh_tunnel_info->{is_new})
{
insert_vnc_pipe({
server_uuid => $server_uuid,