From 122d1a83cc380eb3919e28d20531b001c5cf8bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Sat, 11 Feb 2017 01:56:54 -0300 Subject: Fix warnings issued by `luacheck`. --- lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.lua') 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 -- cgit v1.2.3