summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-ids/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-ids/src/main.rs')
-rw-r--r--bin/core/imag-ids/src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/core/imag-ids/src/main.rs b/bin/core/imag-ids/src/main.rs
index 1e9a54fa..2985b133 100644
--- a/bin/core/imag-ids/src/main.rs
+++ b/bin/core/imag-ids/src/main.rs
@@ -127,11 +127,12 @@ fn main() {
trace!("Got output: {:?}", stdout);
iterator.for_each(|id| {
- rt.report_touched(&id).map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(&id).unwrap_or_exit(); // .map_err_trace_exit_unwrap(1);
+
if !rt.output_is_pipe() {
let id = id.to_str().map_err_trace_exit_unwrap(1);
trace!("Writing to {:?}", stdout);
- let _ = writeln!(stdout, "{}", id)
+ writeln!(stdout, "{}", id)
.to_exit_code()
.unwrap_or_exit();
}