summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-tag/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-tag/src/main.rs')
-rw-r--r--bin/core/imag-tag/src/main.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/core/imag-tag/src/main.rs b/bin/core/imag-tag/src/main.rs
index 0aee4af8..982d50ec 100644
--- a/bin/core/imag-tag/src/main.rs
+++ b/bin/core/imag-tag/src/main.rs
@@ -157,9 +157,7 @@ fn alter(rt: &Runtime, path: StoreId, add: Option<Vec<Tag>>, rem: Option<Vec<Tag
},
}
- let _ = rt
- .report_touched(&path)
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(&path).unwrap_or_exit();
}
fn list(path: StoreId, rt: &Runtime) {
@@ -207,9 +205,7 @@ fn list(path: StoreId, rt: &Runtime) {
.unwrap_or_exit();
}
- let _ = rt
- .report_touched(&path)
- .map_err_trace_exit_unwrap(1);
+ let _ = rt.report_touched(&path).unwrap_or_exit();
}
/// Get the tags which should be added from the commandline