diff --git a/src/command/apply_local.rs b/src/command/apply_local.rs index f6a456b..7dc1689 100644 --- a/src/command/apply_local.rs +++ b/src/command/apply_local.rs @@ -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()