From bc1accea4a5dfc64212956297e84f094092a1ac3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 3 May 2005 03:14:08 +0000 Subject: do not garbage the console on 'wizcancel' --- perl-install/standalone/drakboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/drakboot') diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index 0e5857940..f51699e19 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -46,7 +46,8 @@ my $bootloader = bootloader::read($all_hds); if (!$in->isa('interactive::gtk') || any { /^--boot$/ } @ARGV) { $::isWizard = 1; - lilo_choice(); + eval { lilo_choice() }; + die if $@ && $@ !~ /^wizcancel/; $in->exit(0); } -- cgit v1.2.1