diff options
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 02b0d08ce..97beec64b 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -491,6 +491,8 @@ undef $flush_guard; sub format_bus_ids { my ($device) = $_; + # do not vivify ids: + return if !($device->{vendor} && $device->{id}); foreach my $field (qw(vendor id subvendor subid)) { next if !$device->{$field}; $device->{$field} = sprintf("0x%04x", $device->{$field}); |