From 7d6ea1003064e659b505af409c15601559cacb5c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 18 Sep 2003 09:36:37 +0000 Subject: ensure update_bootloader_label() won't break when called in text interactive (hint: in that case, $boot_label is unset) --- perl-install/standalone/drakboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }; } -- cgit v1.2.1