diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 01:15:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 01:15:16 +0000 |
commit | 2d5ee5d016f682f357a075fa7c8e22868ff40f69 (patch) | |
tree | 56a83dc6bea194455263bd085c6d20308ce3de62 | |
parent | 5f570aeb6249771697e3843b2096d13e80584247 (diff) | |
download | drakx-backup-do-not-use-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar drakx-backup-do-not-use-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar.gz drakx-backup-do-not-use-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar.bz2 drakx-backup-do-not-use-2d5ee5d016f682f357a075fa7c8e22868ff40f69.tar.xz drakx-backup-do-not-use-2d5ee5d016f682f357a075fa7c8e22868ff40f69.zip |
log why auto X config failed (needVideoRam)
-rw-r--r-- | perl-install/Xconfig/card.pm | 5 |
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}, |