mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-25 20:21:20 +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] !~ /^\+/)) {
|
||||
&Usage();
|
||||
} else {
|
||||
$displayNumber = &GetLowestAvailableDisplayNumber();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user