Fix libimagentrylist::listers::path

This commit is contained in:
Matthias Beyer 2016-05-03 16:18:53 +02:00
parent 5d6c226953
commit 79f585def9

View file

@ -32,7 +32,7 @@ impl Lister for PathLister {
if self.absolute { if self.absolute {
pb.canonicalize().map_err(|e| LE::new(LEK::FormatError, Some(Box::new(e)))) pb.canonicalize().map_err(|e| LE::new(LEK::FormatError, Some(Box::new(e))))
} else { } else {
Ok(pb) Ok(pb.into())
} }
}) })
.and_then(|pb| { .and_then(|pb| {