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