summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-18 09:36:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-18 09:36:37 +0000
commit7d6ea1003064e659b505af409c15601559cacb5c (patch)
treeba41ead3e25581991ef8d59117e1cf344f4c28ee /perl-install/standalone
parentc03c4054aad5a3ac468c1a8b127eaa29947cf3c8 (diff)
downloaddrakx-7d6ea1003064e659b505af409c15601559cacb5c.tar
drakx-7d6ea1003064e659b505af409c15601559cacb5c.tar.gz
drakx-7d6ea1003064e659b505af409c15601559cacb5c.tar.bz2
drakx-7d6ea1003064e659b505af409c15601559cacb5c.tar.xz
drakx-7d6ea1003064e659b505af409c15601559cacb5c.zip
ensure update_bootloader_label() won't break when called in text interactive
(hint: in that case, $boot_label is unset)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index a40875ec5..3017966e9 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -345,7 +345,7 @@ sub lilo_choice() {
[ N("Installation of %s failed. The following error occured:", $loader), $err ]);
goto ask;
}
- update_bootloader_label(bootloader::detect_bootloader());
+ eval { update_bootloader_label(bootloader::detect_bootloader()) };
}