summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-03 03:14:08 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-03 03:14:08 +0000
commitbc1accea4a5dfc64212956297e84f094092a1ac3 (patch)
treecbb3954dcdcab2714ede71148cc821a7e9082f8b /perl-install/standalone
parent5babf5bda834472ee235ea2e7a0025ab72336774 (diff)
downloaddrakx-bc1accea4a5dfc64212956297e84f094092a1ac3.tar
drakx-bc1accea4a5dfc64212956297e84f094092a1ac3.tar.gz
drakx-bc1accea4a5dfc64212956297e84f094092a1ac3.tar.bz2
drakx-bc1accea4a5dfc64212956297e84f094092a1ac3.tar.xz
drakx-bc1accea4a5dfc64212956297e84f094092a1ac3.zip
do not garbage the console on 'wizcancel'
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakboot3
1 files changed, 2 insertions, 1 deletions
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);
}