summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-07 17:47:29 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-07 17:47:29 +0000
commitc256b5548c36d54f1b861db62ba9e1c2ffed3802 (patch)
treecffba8138fbd7f8ba09fe110b7f6894e601e40ac /perl-install/Xconfig
parenta39852a0b7429b66478faadf66c7aba69239c032 (diff)
downloaddrakx-c256b5548c36d54f1b861db62ba9e1c2ffed3802.tar
drakx-c256b5548c36d54f1b861db62ba9e1c2ffed3802.tar.gz
drakx-c256b5548c36d54f1b861db62ba9e1c2ffed3802.tar.bz2
drakx-c256b5548c36d54f1b861db62ba9e1c2ffed3802.tar.xz
drakx-c256b5548c36d54f1b861db62ba9e1c2ffed3802.zip
don't do anything when automatic configuration fails in $auto mode
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/monitor.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index 8ca3ba935..429b65f50 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -71,7 +71,8 @@ sub choose {
my $monitors = monitors();
- configure_automatic($monitor, $monitors) and $auto and return 1;
+ my $ok = configure_automatic($monitor, $monitors);
+ return $ok if $auto;
my %h_monitors = map {; "$_->{VendorName}|$_->{ModelName}" => $_ } @$monitors;