fix on --password

This commit is contained in:
rustdesk 2021-08-03 20:16:38 +08:00
parent f558c12866
commit a0b2450888

View File

@ -104,7 +104,7 @@ fn main() {
return;
} else if args[0] == "--password" {
if args.len() == 2 {
hbb_common::config::Config::set_password(&args[1]);
ipc::set_password(args[1].to_owned()).unwrap();
}
return;
}