diff options
Diffstat (limited to 'bin/core/imag-store/src/get.rs')
-rw-r--r-- | bin/core/imag-store/src/get.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-store/src/get.rs b/bin/core/imag-store/src/get.rs index b47fabc3..aa060fd1 100644 --- a/bin/core/imag-store/src/get.rs +++ b/bin/core/imag-store/src/get.rs @@ -20,7 +20,6 @@ use std::path::PathBuf; use failure::Fallible as Result; -use failure::Error; use failure::err_msg; use libimagrt::runtime::Runtime; @@ -40,7 +39,7 @@ pub fn get(rt: &Runtime) -> Result<()> { None => Err(err_msg("No entry found")), Some(entry) => { print_entry(rt, scmd, entry)?; - rt.report_touched(&path).map_err(Error::from) + rt.report_touched(&path) }, } } |