From b91bce1a42ce5406b3d702c05cf78788ace38543 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 9 Sep 2005 15:11:43 +0000 Subject: play it safe (bugzilla #18390) --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.1