From ec4c70b1ac6cd7b0cb39f7619df2a61ecc90b617 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 1 Jun 2004 13:17:44 +0000 Subject: rollback weird and ugly workaround when pressing cancel on the ask_warn. The real fix is in ugtk2.pm --- perl-install/standalone/drakboot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index e1891fdb9..3298a3d39 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -252,9 +252,8 @@ sub lilo_choice() { if ($err && $err !~ /wizcancel/) { # BUG: note that the following message won't speak about the right bootloader if user is currently switching between # various bootloaders and if the error occured before boot sector get overwritten by bootloader installer - my $w = $in->ask_warn(N("Error"), + $in->ask_warn(N("Error"), [ N("Installation of %s failed. The following error occured:", bootloader::detect_bootloader()), $err ]); - undef $w; goto ask; } } -- cgit v1.2.1