From 5c673ae3c474a830d73342e43ad89b08de4a06c1 Mon Sep 17 00:00:00 2001 From: Avril Date: Thu, 2 Mar 2023 17:02:14 +0000 Subject: [PATCH] -exec/{} feature is ready to merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for collect's current commit: Future blessing − 末吉 --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index bfee8e5..e498034 100644 --- a/src/main.rs +++ b/src/main.rs @@ -644,6 +644,7 @@ fn main() -> errors::DispersedResult<()> { }.wrap_err(eyre!("Failed to close stdout"))?; if rc != 0 { + if_trace!(error!("Exiting with non-zero code due to child(s) returning non-zero exit status")); //TODO: A flag to disable this? TODO: Also, a flag to stop printing to stdout so consumers of output can use just `-exec/{}` child process `stdout`s is enabled std::process::exit(rc); }