mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 09:28:23 +00:00
fix one log
This commit is contained in:
parent
160a226977
commit
9e75019d13
1 changed files with 2 additions and 0 deletions
|
|
@ -216,6 +216,8 @@ pub fn core_main() -> Option<Vec<String>> {
|
|||
if args.len() == 2 {
|
||||
if crate::platform::is_root() {
|
||||
crate::ipc::set_permanent_password(args[1].to_owned()).unwrap();
|
||||
} else {
|
||||
println!("Administrative privileges required!");
|
||||
}
|
||||
}
|
||||
return None;
|
||||
|
|
|
|||
Loading…
Reference in a new issue