mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
desktop: don't show which results on console
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user