summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 425036ba5..3dc05d779 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1975,7 +1975,7 @@ sub install_raw_grub2 {
my $error;
# if (member($boot, map { "/dev/$_->{device}" } @{$all_hds->{hds}}) {
my @options = $boot =~ /\d$/ ? ('--grub-setup=/bin/true', $boot) : $boot;
- if (!run_program::rooted($::prefix, 'grub2-install', '2>', \$error, '--grub-setup=/bin/true', @options)) {
+ if (!run_program::rooted($::prefix, 'grub2-install', '2>', \$error, @options)) {
log::explanations("grub2-install failed:\n(grub2-install @options)\nError: <$error>");
die "grub2-install failed: $error";
}