aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/datamanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua
index 1c578fee..26dede08 100644
--- a/util/datamanager.lua
+++ b/util/datamanager.lua
@@ -321,7 +321,7 @@ local type_map = {
local function users(host, store, typ) -- luacheck: ignore 431/store
typ = type_map[typ or "keyval"];
- local store_dir = format("%s/%s/%s", data_path, encode(host), store);
+ local store_dir = format("%s/%s/%s", data_path, encode(host), store_encode(store));
local mode, err = lfs.attributes(store_dir, "mode");
if not mode then