fix build linux

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-05-12 09:10:26 +08:00
parent bff54a61f8
commit 83c110e528

View File

@ -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() {