fix openLink on linux (#6161)

reviewable/pr6164/r1
Martín Fernández 4 years ago committed by GitHub
parent 514ebd114e
commit 5704f63bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@ local Device = Generic:new{
openLink = function(self, link)
local enabled, tool = getLinkOpener()
if not enabled or not tool or not link or type(link) ~= "string" then return end
return os.execute(tool.." '"..link.."'") == 0
return os.execute('LD_LIBRARY_PATH="" '..tool.." '"..link.."'") == 0
end,
}

Loading…
Cancel
Save