summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-10-21 09:45:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-10-21 09:45:59 +0000
commit1078fb99cde03e1d852f837c32336b1588eba040 (patch)
tree65829fd2492a3353614a9ae0aa6ae3d7fb834ec3
parenteeb44e50a2461bb8efb6b38411d603aee8604feb (diff)
downloaddrakx-1078fb99cde03e1d852f837c32336b1588eba040.tar
drakx-1078fb99cde03e1d852f837c32336b1588eba040.tar.gz
drakx-1078fb99cde03e1d852f837c32336b1588eba040.tar.bz2
drakx-1078fb99cde03e1d852f837c32336b1588eba040.tar.xz
drakx-1078fb99cde03e1d852f837c32336b1588eba040.zip
safer
-rw-r--r--perl-install/Xconfig/card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index b96ae9807..84d2d510f 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -64,7 +64,7 @@ sub to_raw_X {
if defined $card->{Xinerama};
# cleanup previous special nvidia libglx
- $raw_X->remove_load_module($_) foreach @{$card->{REMOVE_GLX}};
+ $raw_X->remove_load_module($_) foreach @{$card->{REMOVE_GLX} || []};
if ($card->{DRI_GLX_SPECIAL}) {
$raw_X->remove_load_module('glx'); # this doesn't duplicate the above glx line