]> git.e2factory.org Git - e2factory.git/commitdiff
tools: fix undeclared variable in error message
authorTobias Ulmer <tu@emlix.com>
Wed, 9 Jan 2019 12:21:51 +0000 (13:21 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 9 Jan 2019 12:21:51 +0000 (13:21 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/tools.lua

index f53a66b2a4c6a711dca4119c1898de2304873204..494ad7062a8dfdfd7893cb326e4a461609e2acfa 100644 (file)
@@ -358,7 +358,7 @@ function tools.check_tool(name)
 
         if not e2lib.exists(p, true) then
             return false,
-                err.new("tool %q not found at %q", tool.name, p)
+                err.new("tool %q not found at %q", name, p)
         end
 
         toollist[name].path = p