vncserver: refactor
This commit is contained in:
@@ -593,7 +593,7 @@ sub RunXstartup {
|
||||
if (! $skipxstartup) {
|
||||
system("$xstartupFile >> " . "edString($desktopLog) . " 2>&1");
|
||||
}
|
||||
if (kill 0, `cat $pidFile`) {
|
||||
if (&IsXvncRunning()) {
|
||||
$opt{'-kill'} = ':'.$displayNumber;
|
||||
&Kill();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user