mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-26 04:31:23 +02:00
vncserver: fix DISPLAY detection
This commit is contained in:
parent
93d2c6c716
commit
27f7f823fe
@ -805,6 +805,8 @@ sub DetectDisplayNumberFromCliArgs {
|
|||||||
}
|
}
|
||||||
} elsif (($ARGV[0] !~ /^-/) && ($ARGV[0] !~ /^\+/)) {
|
} elsif (($ARGV[0] !~ /^-/) && ($ARGV[0] !~ /^\+/)) {
|
||||||
&Usage();
|
&Usage();
|
||||||
|
} else {
|
||||||
|
$displayNumber = &GetLowestAvailableDisplayNumber();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user