mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-05 21:48:49 +01:00
vncserver: refactor
This commit is contained in:
parent
79c9c7157b
commit
08ede14dfe
@ -125,9 +125,8 @@ unless (&IsXvncRunning()) {
|
||||
warn "\nNew '$desktopName' desktop is $host:$displayNumber\n";
|
||||
warn "\nUsername: $vncUserName\n\n";
|
||||
|
||||
# Create the user's xstartup script if necessary.
|
||||
if (! $skipxstartup) {
|
||||
&CreateXstartup();
|
||||
&CreateXstartupIfNeeded();
|
||||
}
|
||||
|
||||
# Create the user's config file if necessary.
|
||||
@ -618,7 +617,7 @@ sub SanityCheck
|
||||
}
|
||||
}
|
||||
|
||||
sub CreateXstartup
|
||||
sub CreateXstartupIfNeeded
|
||||
{
|
||||
if ((-e "$xstartupFile")) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user