diff --git a/frontend/device/sdl/device.lua b/frontend/device/sdl/device.lua index 7a3ed9f79..6b9dcd9bb 100644 --- a/frontend/device/sdl/device.lua +++ b/frontend/device/sdl/device.lua @@ -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