summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-08 15:33:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-08 15:33:51 +0000
commit68c7b18e77933e45f3ecb1d354e029e2b96b36e8 (patch)
treed13969855712aa5b744e027cdbc9fb95f268c761
parent2e2bb0e35f8d703180bf6ca78c3876484dced22d (diff)
downloaddrakx-68c7b18e77933e45f3ecb1d354e029e2b96b36e8.tar
drakx-68c7b18e77933e45f3ecb1d354e029e2b96b36e8.tar.gz
drakx-68c7b18e77933e45f3ecb1d354e029e2b96b36e8.tar.bz2
drakx-68c7b18e77933e45f3ecb1d354e029e2b96b36e8.tar.xz
drakx-68c7b18e77933e45f3ecb1d354e029e2b96b36e8.zip
fix getting error message from /boot/grub/install.sh (#26465)
-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 {