desktop: don't show which results on console

reviewable/pr6253/r1
Martín Fdez 4 years ago committed by Martín Fernández
parent d87b09d11c
commit 3e3ddbfc4b

@ -60,7 +60,7 @@ local function getExternalDicts()
local tool = v[4]
if not tool then return end
if isUrl(tool) and getLinkOpener()
or os.execute("which "..tool) == 0 then
or os.execute("which "..tool .. " >/dev/null 2>&1") == 0 then
v[3] = true
end
end

Loading…
Cancel
Save