From dd56877cb9353c2789fadf87648c6b0fb449f9a2 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Wed, 29 Jan 2014 15:00:37 +0100 Subject: [PATCH] Fix operator precedence in licence validation Signed-off-by: Tobias Ulmer --- local/e2tool.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/e2tool.lua b/local/e2tool.lua index 1f00f94..afc2ba3 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -1573,7 +1573,7 @@ local function check_licence(info, l) end if not lic.files then e:append("no files attribute") - elseif not type(lic.files) == "table" then + elseif type(lic.files) ~= "table" then e:append("files attribute is not a table") else for _,f in ipairs(lic.files) do -- 2.39.5