forked from DGNum/colmena
apply_local: Refactoring oops
This commit is contained in:
parent
2ad5027cee
commit
480d7ea5a1
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ async fn escalate() -> ! {
|
|||
let exit = Command::new("sudo")
|
||||
.arg("--")
|
||||
.args(argv)
|
||||
.arg("--no-sudo")
|
||||
.arg("--we-are-launched-by-sudo")
|
||||
.spawn()
|
||||
.expect("Failed to run sudo to escalate privileges")
|
||||
.wait()
|
||||
|
|
Loading…
Reference in a new issue