summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-06 02:26:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-06 02:26:03 +0000
commit41f57ce4ae9e9c686d20525c8aa8574f5c7b4a88 (patch)
tree460aff1784d89af497f04f2dfceae5cc38c330be /perl-install
parentfd3f15c4d08cd8f1412909ea3da82b50a47131a3 (diff)
downloaddrakx-41f57ce4ae9e9c686d20525c8aa8574f5c7b4a88.tar
drakx-41f57ce4ae9e9c686d20525c8aa8574f5c7b4a88.tar.gz
drakx-41f57ce4ae9e9c686d20525c8aa8574f5c7b4a88.tar.bz2
drakx-41f57ce4ae9e9c686d20525c8aa8574f5c7b4a88.tar.xz
drakx-41f57ce4ae9e9c686d20525c8aa8574f5c7b4a88.zip
(getUPS) fix detecting UPS devices
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index c2560006c..2f3909af5 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -570,7 +570,7 @@ sub getNet() {
sub getUPS() {
# MGE serial PnP devices:
- my @usb_devices = map { ($_->{name} = $_->{description}) =~ s/.*\|// } usb_probe();
+ my @usb_devices = map { ($_->{name} = $_->{description}) =~ s/.*\|//; $_ } usb_probe();
(map {
$_->{port} = $_->{DEVICE};