summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
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;