summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-30 05:40:20 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-30 05:40:20 +0000
commit1aba1f0da9ff90a14c2d0c250972e9ae9ddd1a19 (patch)
treefd2b974c09a76a0fc7f402ae77e0830716b8cd06
parentc7cbc9dc1dfdbe8d46531bf002de8dd93db61938 (diff)
downloaddrakx-1aba1f0da9ff90a14c2d0c250972e9ae9ddd1a19.tar
drakx-1aba1f0da9ff90a14c2d0c250972e9ae9ddd1a19.tar.gz
drakx-1aba1f0da9ff90a14c2d0c250972e9ae9ddd1a19.tar.bz2
drakx-1aba1f0da9ff90a14c2d0c250972e9ae9ddd1a19.tar.xz
drakx-1aba1f0da9ff90a14c2d0c250972e9ae9ddd1a19.zip
fix UPS devices listed in both "UPS" and "unknown" classes
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index c0ffa80d6..879a0f0eb 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -357,7 +357,7 @@ our @tree =
string => N("UPS"),
icon => "harddisk.png",
configurator => "$sbindir/drakups",
- detector => sub { detect_devices::getUPS() },
+ detector => sub { f(detect_devices::getUPS()) },
checked_on_boot => 0,
},