summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-17 12:24:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-17 12:24:22 +0000
commit9be1465ca747f986d897458a076dd2ba3d43d3cc (patch)
treef345310d2c1508080baf64d19a768b10f0adc9e7 /perl-install/Xconfig
parent638383c19d18925c737f41f2d228758e191d3bd9 (diff)
downloaddrakx-9be1465ca747f986d897458a076dd2ba3d43d3cc.tar
drakx-9be1465ca747f986d897458a076dd2ba3d43d3cc.tar.gz
drakx-9be1465ca747f986d897458a076dd2ba3d43d3cc.tar.bz2
drakx-9be1465ca747f986d897458a076dd2ba3d43d3cc.tar.xz
drakx-9be1465ca747f986d897458a076dd2ba3d43d3cc.zip
warn when auto conf fail
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/monitor.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index db0d72c3e..372086fe9 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -72,7 +72,10 @@ sub choose {
my $monitors = monitors();
my $ok = configure_automatic($monitor, $monitors);
- return $ok if $auto;
+ if ($auto) {
+ log::l("Xconfig::monitor: auto failed") if !$ok;
+ return $ok;
+ }
my %h_monitors = map {; "$_->{VendorName}|$_->{ModelName}" => $_ } @$monitors;