summaryrefslogtreecommitdiffstats
path: root/aconf/persistence
diff options
context:
space:
mode:
Diffstat (limited to 'aconf/persistence')
-rw-r--r--aconf/persistence/util.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/aconf/persistence/util.lua b/aconf/persistence/util.lua
index d233b1d..792bdc8 100644
--- a/aconf/persistence/util.lua
+++ b/aconf/persistence/util.lua
@@ -1,5 +1,5 @@
--[[
-Copyright (c) 2012-2014 Kaarle Ritvanen
+Copyright (c) 2012-2018 Kaarle Ritvanen
See LICENSE file for license details
--]]
@@ -13,7 +13,7 @@ end
function M.read_file(path)
local file = M.open_file(path)
- local data = file:read('*all')
+ local data = file:read('a')
file:close()
return data
end