summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrycategory/src/store.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/entry/libimagentrycategory/src/store.rs')
-rw-r--r--lib/entry/libimagentrycategory/src/store.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/entry/libimagentrycategory/src/store.rs b/lib/entry/libimagentrycategory/src/store.rs
index 8a3ba6dc..e05e8230 100644
--- a/lib/entry/libimagentrycategory/src/store.rs
+++ b/lib/entry/libimagentrycategory/src/store.rs
@@ -223,7 +223,7 @@ fn mk_category_storeid(base: PathBuf, s: &str) -> Result<StoreId> {
#[inline]
fn represents_category(store: &Store, sid: StoreId, name: &str) -> Result<bool> {
- sid.exists()
+ store.exists(sid.clone())
.context(err_msg("Store id handling error"))
.map_err(Error::from)
.and_then(|bl| {