summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-diary/src/delete.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain/imag-diary/src/delete.rs')
-rw-r--r--bin/domain/imag-diary/src/delete.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/domain/imag-diary/src/delete.rs b/bin/domain/imag-diary/src/delete.rs
index 8ce2296a..af719ca7 100644
--- a/bin/domain/imag-diary/src/delete.rs
+++ b/bin/domain/imag-diary/src/delete.rs
@@ -66,9 +66,7 @@ pub fn delete(rt: &Runtime) {
return;
}
- let _ = rt
- .report_touched(&to_del_location)
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(&to_del_location).unwrap_or_exit();
let _ = rt
.store()