summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-01 12:08:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-01 12:08:01 +0000
commit8fb5f90996a87696917fa27ce7ca20c78f675587 (patch)
tree3aa5a239a3c661054177afdf9bb389a84babb8e8
parent8a81619602fad2ca359cee9e957a8a3c98920c4c (diff)
downloaddrakx-backup-do-not-use-8fb5f90996a87696917fa27ce7ca20c78f675587.tar
drakx-backup-do-not-use-8fb5f90996a87696917fa27ce7ca20c78f675587.tar.gz
drakx-backup-do-not-use-8fb5f90996a87696917fa27ce7ca20c78f675587.tar.bz2
drakx-backup-do-not-use-8fb5f90996a87696917fa27ce7ca20c78f675587.tar.xz
drakx-backup-do-not-use-8fb5f90996a87696917fa27ce7ca20c78f675587.zip
testFinalConfig now returns false if test is skipped because of a bad_card or
verybad_card and $skip_badcard is not set
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index bed9bafef..2ee523e6e 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -590,7 +590,7 @@ sub testFinalConfig {
my $verybad_card = $o->{card}{driver} eq 'i810';
$verybad_card ||= $o->{card}{driver} eq 'nvidia' && !$::isStandalone; #- avoid testing during install at any price.
- $bad_card || $verybad_card and return 1; #- deactivating bad_card test too.
+ $bad_card || $verybad_card and return $skip_badcard; #- deactivating bad_card test too.
my $mesg = _("Do you want to test the configuration?");
my $def = 1;