diff options
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index b99db9f83..2451df253 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1903,12 +1903,11 @@ sub write_grub2_default_entry { } } -sub write_grub2 { - my ($o_backup_extension) = @_; +sub write_grub2() { my $error; my $f1 = "$::prefix/boot/grub2/grub.cfg"; - renamef($f1, $f1 . ($o_backup_extension || '.old')); + renamef($f1, $f1 . '.old'); run_program::rooted($::prefix, 'update-grub2', '2>', \$error) or die "update-grub2 failed: $error"; log::l("update-grub2 logs: $error"); |