mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-27 18:43:45 +01:00
vncserver: extract ForgetSelectedDe()
This commit is contained in:
parent
71c420fc86
commit
f999acc490
@ -727,11 +727,14 @@ sub AskUserToChooseDeOrManualXstartup {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
unlink $de_was_selected_file;
|
&ForgetSelectedDe();
|
||||||
|
|
||||||
system($selectDeCmd) == 0 || die("Failed to execute $selectDeCmd\n");
|
system($selectDeCmd) == 0 || die("Failed to execute $selectDeCmd\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub ForgetSelectedDe {
|
||||||
|
unlink $de_was_selected_file;
|
||||||
|
}
|
||||||
|
|
||||||
sub DetectDisplayNumberFromCliArgs {
|
sub DetectDisplayNumberFromCliArgs {
|
||||||
if (@ARGV == 0) {
|
if (@ARGV == 0) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user