summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
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/drakboot
parent5babf5bda834472ee235ea2e7a0025ab72336774 (diff)
downloaddrakx-backup-do-not-use-bc1accea4a5dfc64212956297e84f094092a1ac3.tar
drakx-backup-do-not-use-bc1accea4a5dfc64212956297e84f094092a1ac3.tar.gz
drakx-backup-do-not-use-bc1accea4a5dfc64212956297e84f094092a1ac3.tar.bz2
drakx-backup-do-not-use-bc1accea4a5dfc64212956297e84f094092a1ac3.tar.xz
drakx-backup-do-not-use-bc1accea4a5dfc64212956297e84f094092a1ac3.zip
do not garbage the console on 'wizcancel'
Diffstat (limited to 'perl-install/standalone/drakboot')
-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);
}