diff options
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 9397655ce..3ad4c31b6 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -288,7 +288,7 @@ sub getIDE() { my $num = ord (($d =~ /(.)$/)[0]) - ord 'a'; my ($vendor, $model) = map { - if_($info =~ /^$_\b(-|\s*)(.*)/, $eide_hds{$_}, $2); + if_($info =~ /^$_(-|\s)*(.*)/, $eide_hds{$_}, $2); } keys %eide_hds; my ($channel, $id) = ($num / 2, $num % 2); |