From 853076c80306853e28fbb2a5f9c6a54d8abca9fd Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Wed, 31 Oct 2018 14:49:25 +0200 Subject: switch to Lua 5.3 --- aconf/persistence/util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aconf/persistence/util.lua') 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 -- cgit v1.2.3