diff options
author | Kim Alvefur <zash@zash.se> | 2015-04-03 12:10:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-04-03 12:10:30 +0200 |
commit | 2064173f3b789cf78d19e7489bdabe84cb9a94aa (patch) | |
tree | 88d12f1023b4ae74e8284343c58e2b21959f7ef9 | |
parent | 7dff400ed5e217b3316b9b311b41c826d10e67f1 (diff) | |
download | prosody-2064173f3b789cf78d19e7489bdabe84cb9a94aa.tar.gz prosody-2064173f3b789cf78d19e7489bdabe84cb9a94aa.zip |
util.datamanager: Fix traceback due to %s in log message
-rw-r--r-- | util/datamanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index b82349f1..b4138638 100644 --- a/util/datamanager.lua +++ b/util/datamanager.lua @@ -293,7 +293,7 @@ function users(host, store, typ) local mode, err = lfs.attributes(store_dir, "mode"); if not mode then - return function() log("debug", err or (store_dir .. " does not exist")) end + return function() log("debug", "%s", err or (store_dir .. " does not exist")) end end local next, state = lfs.dir(store_dir); return function(state) |