--- a/util/datamanager.lua Fri Dec 11 20:07:22 2015 +0100
+++ b/util/datamanager.lua Fri Dec 11 20:11:48 2015 +0100
@@ -234,7 +234,7 @@
if callback(username, host, datastore) == false then return true; end
-- save the datastore
- local data = "item(" .. serialize(data) .. ");\n";
+ data = "item(" .. serialize(data) .. ");\n";
local ok, msg = append(username, host, datastore, "list", data);
if not ok then
log("error", "Unable to write to %s storage ('%s') for user: %s@%s", datastore, msg, username or "nil", host or "nil");