summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-grep/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-grep/src/main.rs')
-rw-r--r--bin/core/imag-grep/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/core/imag-grep/src/main.rs b/bin/core/imag-grep/src/main.rs
index 2afefd30..9ab3c29d 100644
--- a/bin/core/imag-grep/src/main.rs
+++ b/bin/core/imag-grep/src/main.rs
@@ -125,8 +125,6 @@ fn show(rt: &Runtime, e: &Entry, re: &Regex, opts: &Options, count: &mut usize)
*count += 1;
}
- let _ = rt
- .report_touched(e.get_location())
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(e.get_location()).unwrap_or_exit();
}