apply_local: Refactoring oops

This commit is contained in:
Zhaofeng Li 2020-12-19 16:28:50 -08:00
parent 2ad5027cee
commit 480d7ea5a1

View file

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