diff --git a/bin/core/imag-grep/src/lib.rs b/bin/core/imag-grep/src/lib.rs index ae75759b..8a04eaf3 100644 --- a/bin/core/imag-grep/src/lib.rs +++ b/bin/core/imag-grep/src/lib.rs @@ -95,6 +95,7 @@ impl ImagApplication for ImagGrep { .and_then_ok(|entry| { if pattern.is_match(entry.get_content()) { debug!("Matched: {}", entry.get_location()); + rt.report_touched(entry.get_location())?; show(&rt, &entry, &pattern, &opts, &mut count) } else { debug!("Not matched: {}", entry.get_location());