From 39c9e7f4b8baff66d3944cc4c2649b42ae29d328 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 19 Nov 2013 19:28:15 +0100 Subject: [PATCH] tools.check_tool(): Use argv Signed-off-by: Tobias Ulmer --- generic/tools.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tools.lua b/generic/tools.lua index e0bf087..e733cbd 100644 --- a/generic/tools.lua +++ b/generic/tools.lua @@ -164,8 +164,8 @@ function tools.check_tool(name) table.insert(out, msg) end - which = { e2lib.shquote("which"), e2lib.shquote(tool.name) } - rc, re = e2lib.callcmd_capture(table.concat(which, " "), capture) + which = { "which", tool.name } + rc, re = e2lib.callcmd_capture(which, capture) if not rc then return false, re elseif rc ~= 0 then -- 2.39.5