mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
refact, linux headless option, debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -109,7 +109,7 @@ pub fn try_start_desktop(_username: &str, _passsword: &str) -> String {
|
||||
// No need to verify password here.
|
||||
return "".to_owned();
|
||||
}
|
||||
if username.is_empty() {
|
||||
if !username.is_empty() {
|
||||
// Another user is logged in. No need to start a new xsession.
|
||||
return "".to_owned();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user