From 2c93ce562cf0668dd724cd903463d4a634543e8a Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Fri, 4 Dec 2009 12:23:31 +0100 Subject: [PATCH] bugfix: broken error handling due to duplicate use of local variable Signed-off-by: Gordon Hecker --- local/e2tool.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5