summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index e53ec8c5b..41356adc2 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1066,7 +1066,8 @@ try to force installation even if that destroys the first partition?"));
my $w = $o->wait_message('', _("Installing bootloader"));
eval { $o->SUPER::setupBootloader };
}
- if ($@) {
+ if ($err = $@) {
+ $err =~ /failed$/ or die;
$o->ask_warn('',
[ _("Installation of bootloader failed. The following error occured:"),
grep { !/^Warning:/ } cat_("$o->{prefix}/tmp/.error") ]);