mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-17 10:50:47 +01:00
vncserver: refactor
This commit is contained in:
parent
ac51bd1d57
commit
68554d84d6
@ -593,7 +593,7 @@ sub RunXstartup {
|
|||||||
if (! $skipxstartup) {
|
if (! $skipxstartup) {
|
||||||
system("$xstartupFile >> " . "edString($desktopLog) . " 2>&1");
|
system("$xstartupFile >> " . "edString($desktopLog) . " 2>&1");
|
||||||
}
|
}
|
||||||
if (kill 0, `cat $pidFile`) {
|
if (&IsXvncRunning()) {
|
||||||
$opt{'-kill'} = ':'.$displayNumber;
|
$opt{'-kill'} = ':'.$displayNumber;
|
||||||
&Kill();
|
&Kill();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user