mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-21 05:18:50 +01:00
vncserver: fix case of -websocketPort not specified
This commit is contained in:
parent
628033af45
commit
27f0ed29ca
@ -1140,7 +1140,7 @@ sub PrepareDefaultsForPassingToXvnc {
|
||||
%default_opts;
|
||||
%config;
|
||||
|
||||
$websocketPort = $opt{"-websocketPort"} || \
|
||||
$websocketPort = $opt{"-websocketPort"} ||
|
||||
GenerateWebsocketPortFromDisplayNumber();
|
||||
$desktopName = $opt{'-name'} || "$host:$displayNumber ($ENV{USER})";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user