summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 44c75d3a1..366a48f74 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1656,7 +1656,7 @@ sub install_grub {
sub install_raw_grub() {
log::l("Installing boot loader...");
my $error;
- run_program::rooted($::prefix, "sh", '/boot/grub/install.sh', "2>", \$error) or die "grub failed: $error";
+ run_program::rooted($::prefix, "sh", "2>", \$error, '/boot/grub/install.sh') or die "grub failed: $error";
}
sub when_config_changed_grub {