summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-09 15:11:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-09 15:11:43 +0000
commitb91bce1a42ce5406b3d702c05cf78788ace38543 (patch)
treef278fea1d9baacdd8187729d49f6c3d011648375 /perl-install/install_steps.pm
parent32f330e38805bab5a46c57b6b5e9bfa992e2b033 (diff)
downloaddrakx-b91bce1a42ce5406b3d702c05cf78788ace38543.tar
drakx-b91bce1a42ce5406b3d702c05cf78788ace38543.tar.gz
drakx-b91bce1a42ce5406b3d702c05cf78788ace38543.tar.bz2
drakx-b91bce1a42ce5406b3d702c05cf78788ace38543.tar.xz
drakx-b91bce1a42ce5406b3d702c05cf78788ace38543.zip
play it safe (bugzilla #18390)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 34db28fa8..09b3eaa8e 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -787,7 +787,7 @@ sub readBootloaderConfigBeforeInstall {
my ($o) = @_;
require bootloader;
- add2hash($o->{bootloader} ||= {}, bootloader::read($o->{all_hds}));
+ eval { add2hash($o->{bootloader} ||= {}, bootloader::read($o->{all_hds})) };
$o->{bootloader}{bootUnsafe} = 0 if $o->{bootloader}{boot}; #- when upgrading, do not ask where to install the bootloader (mbr vs boot partition)
}