util.datamanager: Fix traceback due to %s in log message
authorKim Alvefur <zash@zash.se>
Fri, 3 Apr 2015 10:10:30 +0000 (12:10 +0200)
committerKim Alvefur <zash@zash.se>
Fri, 3 Apr 2015 10:10:30 +0000 (12:10 +0200)
util/datamanager.lua

index b82349f10957bd31d186cb00664902adce63784f..b4138638f790b437bd85d2caf5b91588a53933d2 100644 (file)
@@ -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)