vncserver: refactor
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user