From f73c3ef31a766e6cc71c05654c12714b5c3eabed Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sun, 21 Feb 2021 09:42:47 +0200 Subject: [PATCH] Stop checking the return value of msupdate in macOS (fix #644) --- src/steps/os/macos.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/steps/os/macos.rs b/src/steps/os/macos.rs index 7d88abb3..7a65108f 100644 --- a/src/steps/os/macos.rs +++ b/src/steps/os/macos.rs @@ -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<()> {