mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
fix cli
This commit is contained in:
parent
b0deea57f6
commit
50d9396743
@ -73,8 +73,7 @@ impl Interface for Session {
|
||||
|
||||
async fn handle_hash(&mut self, pass: &str, hash: Hash, peer: &mut Stream) {
|
||||
log::info!(
|
||||
"id={}, password={}",
|
||||
crate::ipc::get_id(),
|
||||
"password={}",
|
||||
hbb_common::password_security::temporary_password()
|
||||
);
|
||||
handle_hash(self.lc.clone(), &pass, hash, self, peer).await;
|
||||
|
@ -91,6 +91,7 @@ fn main() {
|
||||
let token = LocalConfig::get_option("access_token");
|
||||
cli::connect_test(p, key, token);
|
||||
} else if let Some(p) = matches.value_of("server") {
|
||||
log::info!("id={}", hbb_common::config::Config::get_id());
|
||||
crate::start_server(true);
|
||||
}
|
||||
common::global_clean();
|
||||
|
Loading…
Reference in New Issue
Block a user