Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Incorrect logic on option/optiongroup check (Thanks, Reto!).
Fixes Bugzilla #3926.
  • Loading branch information
icculus committed Jan 13, 2009
1 parent 146e7fb commit 3440c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mojosetup_mainline.lua
Expand Up @@ -1129,7 +1129,7 @@ local function do_install(install)
-- !!! FIXME: I would like everything possible to fail here instead of
-- !!! FIXME: when a user happens to pick an option no one tested...

if install.options ~= nil and install.optiongroups ~= nil then
if (install.options == nil) and (install.optiongroups == nil) then
MojoSetup.fatal(_("BUG: no options"))
end

Expand Down

0 comments on commit 3440c55

Please sign in to comment.