mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix build linux
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
bff54a61f8
commit
83c110e528
@ -179,7 +179,7 @@ fn elevate_install(
|
|||||||
if !same_plugin_exists {
|
if !same_plugin_exists {
|
||||||
args.push(&plugin_url);
|
args.push(&plugin_url);
|
||||||
}
|
}
|
||||||
allowed_install = match crate::platform::elevate(args) {
|
let allowed_install = match crate::platform::elevate(args) {
|
||||||
Ok(Some(mut child)) => match child.wait() {
|
Ok(Some(mut child)) => match child.wait() {
|
||||||
Ok(status) => {
|
Ok(status) => {
|
||||||
if status.success() {
|
if status.success() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user