This commit is contained in:
rustdesk committed 2024-04-09 19:02:17 +08:00
1 parent 0df4b39bcc
commit f34a8ef0e5
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -958,7 +958,7 @@ impl Connection {
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]
if crate::is_server() && Config::get_option("allow-only-conn-window-open") == "Y" {
if crate::check_process("", false) {
if !crate::check_process("", false) {
self.send_login_error("The main window is not open").await;
return false;
}