Skip to content

Commit

Permalink
minor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
wfeldt committed Feb 28, 2020
1 parent 9ba850a commit 4c16d63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/bootloader/proposal_client.rb
Expand Up @@ -355,9 +355,9 @@ def single_click_action(option, value)
value ? stage1.add_udev_device(device) : stage1.remove_device(device)
end
when "trusted_boot"
::Bootloader::BootloaderFactory.current.trusted_boot = value
bootloader.trusted_boot = value
when "secure_boot"
::Bootloader::BootloaderFactory.current.secure_boot = value
bootloader.secure_boot = value
if value && Yast::Arch.s390
Yast2::Popup.show(
_(
Expand Down

0 comments on commit 4c16d63

Please sign in to comment.