From: Gordon Hecker Date: Fri, 4 Dec 2009 11:23:31 +0000 (+0100) Subject: bugfix: broken error handling due to duplicate use of local variable X-Git-Tag: e2factory-2.3.3rc1~11 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=2c93ce562cf0668dd724cd903463d4a634543e8a;p=e2factory.git bugfix: broken error handling due to duplicate use of local variable Signed-off-by: Gordon Hecker --- diff --git a/local/e2tool.lua b/local/e2tool.lua index 0dd9fde..a701e1b 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -652,7 +652,7 @@ The newest configuration syntax supported by the tools is %s. if not line then return false, e:cat(re) end - local s, e, l = string.find(line, "^%s*(%S+)%s*$") + local _, _, l = string.find(line, "^%s*(%S+)%s*$") if not l then return false, e:append("%s: can't parse project location", info.project_location_config)