summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-05-09 11:29:46 +0000
committerFrancois Pons <fpons@mandriva.com>2000-05-09 11:29:46 +0000
commite29430e040fb03c614900bbb39ec428c610a8726 (patch)
treef6108ee0710306313b3e176aefd84c9063e3163e /perl-install
parent3dd7b549b27aeead93b3980b0debd40a4dba806b (diff)
downloaddrakx-e29430e040fb03c614900bbb39ec428c610a8726.tar
drakx-e29430e040fb03c614900bbb39ec428c610a8726.tar.gz
drakx-e29430e040fb03c614900bbb39ec428c610a8726.tar.bz2
drakx-e29430e040fb03c614900bbb39ec428c610a8726.tar.xz
drakx-e29430e040fb03c614900bbb39ec428c610a8726.zip
*** empty log message ***
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 78f0ff218..ad35871cc 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -283,7 +283,7 @@ sub probeSerialDevices {
open F, "serial_probe 2>/dev/null |";
my %current = (); foreach (<F>) {
chomp;
- $serialprobe{$current{DEVICE}} = { %current } and %current = () if /^\s*$/;
+ $serialprobe{$current{DEVICE}} = { %current } and %current = () if /^\s*$/ && $current{DEVICE};
$current{$1} = $2 if /^([^=]+)=(.*)$/;
}
close F;