Skip to content

Commit

Permalink
Show the summary also when the bootloader filesystem is nfs
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed May 8, 2018
1 parent c8bc69c commit df0c039
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/Bootloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ def Summary(simple_mode: false)
# kokso: additional warning that root partition is nfs type -> bootloader will not be installed
if BootStorage.boot_filesystem.is?(:nfs)
log.info "Bootloader::Summary() -> Boot partition is nfs type, bootloader will not be installed."
return _("The boot partition is of type NFS. Bootloader cannot be installed.")
msg = _("The boot partition is of type NFS. Bootloader cannot be installed.")
return (simple_mode ? [msg] : [Yast::HTML.Colorize(msg, "red")])
end

::Bootloader::BootloaderFactory.current.summary(simple_mode: simple_mode)
Expand Down

0 comments on commit df0c039

Please sign in to comment.