summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/card.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 01:15:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 01:15:16 +0000
commit2d5ee5d016f682f357a075fa7c8e22868ff40f69 (patch)
tree56a83dc6bea194455263bd085c6d20308ce3de62 /perl-install/Xconfig/card.pm
parent5f570aeb6249771697e3843b2096d13e80584247 (diff)
downloaddrakx-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar
drakx-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar.gz
drakx-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar.bz2
drakx-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar.xz
drakx-2d5ee5d016f682f357a075fa7c8e22868ff40f69.zip
log why auto X config failed (needVideoRam)
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-rw-r--r--perl-install/Xconfig/card.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index a6eae5f9d..f5ee62c0f 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -295,7 +295,10 @@ sub configure {
$card->{prog} = install_server($card, $options, $do_pkgs);
if ($card->{needVideoRam} && !$card->{VideoRam}) {
- return if $auto;
+ if ($auto) {
+ log::l("Xconfig::card: auto failed (needVideoRam)");
+ return;
+ }
$card->{VideoRam} = (find { $_ <= $options->{VideoRam_probed} } reverse ikeys %VideoRams) || 4096;
$in->ask_from('', N("Select the memory size of your graphics card"),
[ { val => \$card->{VideoRam},