summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-store/src/retrieve.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-store/src/retrieve.rs')
-rw-r--r--bin/core/imag-store/src/retrieve.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/core/imag-store/src/retrieve.rs b/bin/core/imag-store/src/retrieve.rs
index 7ae516d7..511c9348 100644
--- a/bin/core/imag-store/src/retrieve.rs
+++ b/bin/core/imag-store/src/retrieve.rs
@@ -21,7 +21,6 @@ use std::path::PathBuf;
use std::io::Write;
use failure::Fallible as Result;
-use failure::Error;
use clap::ArgMatches;
use libimagstore::store::FileLockEntry;
@@ -39,7 +38,7 @@ pub fn retrieve(rt: &Runtime) -> Result<()> {
.retrieve(path.clone())
.and_then(|e| print_entry(rt, scmd, e))?;
- rt.report_touched(&path).map_err(Error::from)
+ rt.report_touched(&path)
}
pub fn print_entry(rt: &Runtime, scmd: &ArgMatches, e: FileLockEntry) -> Result<()> {