diff --git a/src/steps/os/windows.rs b/src/steps/os/windows.rs index e0e148dd..60c1a20b 100644 --- a/src/steps/os/windows.rs +++ b/src/steps/os/windows.rs @@ -53,7 +53,7 @@ pub fn run_scoop(cleanup: bool, run_type: RunType) -> Result<()> { pub fn run_wsl_topgrade(ctx: &ExecutionContext) -> Result<()> { let wsl = require("wsl")?; let topgrade = Command::new(&wsl) - .args(&["bash", "-l", "which", "topgrade"]) + .args(&["bash", "-lc", "which topgrade"]) .check_output() .map_err(|_| SkipStep(String::from("Could not find Topgrade installed in WSL")))?;