program.Terminal is a boolean, not a string (#2239)

This commit is contained in:
Sagar Tewari 2018-04-22 11:36:38 +05:30 committed by Emmanuel Lepage Vallée
parent f2bac50198
commit 6617d786b3
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ function utils.parse_desktop_file(file)
else else
cmdline = cmdline:gsub('%%i', '') cmdline = cmdline:gsub('%%i', '')
end end
if program.Terminal == "true" then if program.Terminal == true then
cmdline = utils.terminal .. ' -e ' .. cmdline cmdline = utils.terminal .. ' -e ' .. cmdline
end end
program.cmdline = cmdline program.cmdline = cmdline