summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/monitor.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-17 11:34:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-17 11:34:32 +0000
commit4781e491c32fdfe0dbe3cf97a8aca90040a9406b (patch)
treeca4f166763cc8be7bc01e943dcbf5a058758060d /perl-install/Xconfig/monitor.pm
parent5458ef92ec80fab427e4d69b5cdd22bb76b261d8 (diff)
downloaddrakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar.gz
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar.bz2
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.tar.xz
drakx-4781e491c32fdfe0dbe3cf97a8aca90040a9406b.zip
new perl_checker compliance
Diffstat (limited to 'perl-install/Xconfig/monitor.pm')
-rw-r--r--perl-install/Xconfig/monitor.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index 372086fe9..1df15ecd5 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -42,10 +42,10 @@ sub from_raw_X {
}
sub configure {
- my ($in, $raw_X, $auto) = @_;
+ my ($in, $raw_X, $b_auto) = @_;
my $monitor = from_raw_X($raw_X);
- choose($in, $monitor, $auto) or return;
+ choose($in, $monitor, $b_auto) or return;
$raw_X->set_monitors($monitor);
$monitor;
}
@@ -67,12 +67,12 @@ sub configure_auto_install {
}
sub choose {
- my ($in, $monitor, $auto) = @_;
+ my ($in, $monitor, $b_auto) = @_;
my $monitors = monitors();
my $ok = configure_automatic($monitor, $monitors);
- if ($auto) {
+ if ($b_auto) {
log::l("Xconfig::monitor: auto failed") if !$ok;
return $ok;
}