From c256b5548c36d54f1b861db62ba9e1c2ffed3802 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 7 Jan 2003 17:47:29 +0000 Subject: don't do anything when automatic configuration fails in $auto mode --- perl-install/Xconfig/monitor.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/Xconfig') 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; -- cgit v1.2.1