From 4f9fe856a25ab29345b90e7725509e9ee38a37be Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:41 +0200 Subject: Adding upstream version 1.69.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/xshell/src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'vendor/xshell/src') diff --git a/vendor/xshell/src/lib.rs b/vendor/xshell/src/lib.rs index 6b980ba22..02d6276f1 100644 --- a/vendor/xshell/src/lib.rs +++ b/vendor/xshell/src/lib.rs @@ -960,10 +960,7 @@ impl<'a> Cmd<'a> { if !self.data.quiet { eprintln!("$ {}", self); } - let mut command = self.to_command(); - let status = command.status().map_err(|err| Error::new_cmd_io(self, err))?; - self.check_status(status)?; - Ok(()) + self.output_impl(false, false).map(|_| ()) } /// Run the command and return its stdout as a string. -- cgit v1.2.3