Stop checking the return value of msupdate in macOS (fix #644)

This commit is contained in:
Roey Darwish Dror
2021-02-21 09:42:47 +02:00
parent 64b2f08702
commit f73c3ef31a

View File

@@ -15,8 +15,10 @@ pub fn run_msupdate(ctx: &ExecutionContext) -> Result<()> {
.require()?;
print_separator("Microsoft AutoUpdate");
ctx.run_type().execute(msupdate).arg("--list").check_run()?;
ctx.run_type().execute(msupdate).arg("--install").check_run()
ctx.run_type().execute(msupdate).arg("--list").spawn()?.wait()?;
ctx.run_type().execute(msupdate).arg("--install").spawn()?.wait()?;
Ok(())
}
pub fn run_macports(ctx: &ExecutionContext) -> Result<()> {