summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-08-25 11:59:37 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-08-25 12:55:45 +0200
commitb3eb37dde87505682569b34356d73b637c4d5697 (patch)
treea2d519712e74033d916d2df9afc2436ec8b74960
parente21d4db54380e051b6f92e670ca2dac8ae2e35a7 (diff)
downloadimag-b3eb37dde87505682569b34356d73b637c4d5697.tar.gz
imag-b3eb37dde87505682569b34356d73b637c4d5697.tar.xz
-rw-r--r--bin/domain/imag-log/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/domain/imag-log/src/main.rs b/bin/domain/imag-log/src/main.rs
index 5c106c99..20cde518 100644
--- a/bin/domain/imag-log/src/main.rs
+++ b/bin/domain/imag-log/src/main.rs
@@ -110,7 +110,9 @@ fn main() {
.map(|mut fle| {
let _ = fle.make_log_entry().map_err_trace_exit_unwrap();
*fle.get_content_mut() = text;
+ fle
})
+ .map(|fle| rt.report_touched(fle.get_location()).unwrap_or_exit())
.map_err_trace_exit_unwrap();
}
}