summaryrefslogtreecommitdiff
path: root/lib.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-02-11 01:56:54 -0300
committerDiego Martínez <kaeza@users.noreply.github.com>2017-02-11 03:42:36 -0300
commit122d1a83cc380eb3919e28d20531b001c5cf8bac (patch)
treec15732cd5e198c42c64e81b5ef2a27d4a0a1faa3 /lib.lua
parentc667cd0de67e01792072f66ee9f0d539f18f75ad (diff)
Fix warnings issued by `luacheck`.
Diffstat (limited to 'lib.lua')
-rw-r--r--lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.lua b/lib.lua
index 7e8e066..60aebc0 100644
--- a/lib.lua
+++ b/lib.lua
@@ -49,7 +49,7 @@ end
function intllib.load_strings(filename)
local file, err = io.open(filename, "r")
if not file then
- return nil
+ return nil, err
end
local strings = {}
for line in file:lines() do