mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-01 11:09:12 +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;
|
%default_opts;
|
||||||
%config;
|
%config;
|
||||||
|
|
||||||
$websocketPort = $opt{"-websocketPort"} || \
|
$websocketPort = $opt{"-websocketPort"} ||
|
||||||
GenerateWebsocketPortFromDisplayNumber();
|
GenerateWebsocketPortFromDisplayNumber();
|
||||||
$desktopName = $opt{'-name'} || "$host:$displayNumber ($ENV{USER})";
|
$desktopName = $opt{'-name'} || "$host:$displayNumber ($ENV{USER})";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user