diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-18 09:36:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-18 09:36:37 +0000 |
commit | 7d6ea1003064e659b505af409c15601559cacb5c (patch) | |
tree | ba41ead3e25581991ef8d59117e1cf344f4c28ee /perl-install/standalone | |
parent | c03c4054aad5a3ac468c1a8b127eaa29947cf3c8 (diff) | |
download | drakx-backup-do-not-use-7d6ea1003064e659b505af409c15601559cacb5c.tar drakx-backup-do-not-use-7d6ea1003064e659b505af409c15601559cacb5c.tar.gz drakx-backup-do-not-use-7d6ea1003064e659b505af409c15601559cacb5c.tar.bz2 drakx-backup-do-not-use-7d6ea1003064e659b505af409c15601559cacb5c.tar.xz drakx-backup-do-not-use-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-x | perl-install/standalone/drakboot | 2 |
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()) }; } |