summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/bootloader.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index e8d7d1973..1088c4e43 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -2013,12 +2013,10 @@ sub restore_previous_MBR_bootloader {
sub install_grub2 {
my ($bootloader, $all_hds) = @_;
write_grub2($bootloader, $all_hds);
- my $boot = $bootloader->{boot};
- install_raw_grub2($boot);
+ install_raw_grub2();
}
-sub install_raw_grub2 {
- my ($boot) = @_;
+sub install_raw_grub2() {
my $error;
my $f = '/boot/grub2/install.sh';
if (!run_program::rooted($::prefix, "sh", "2>", \$error, $f)) {