mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-10 11:41:28 +03:00
@@ -216,8 +216,6 @@ 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 {
|
||||
log::info!("Permission denied!");
|
||||
}
|
||||
}
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user