diff options
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index f72ef0e86..e100592d8 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -582,8 +582,8 @@ sub custom_id { $device->{"Socket Designation"} ? "$device->{name} (" . $device->{"Socket Designation"} . ")" : $device->{name} ? $device->{name} : - (defined($device->{description}) ? $device->{description} : - (defined($device->{Vendor}) ? $device->{Vendor} : $str))); + (($device->{description}) ? $device->{description} : + (($device->{Vendor}) ? $device->{Vendor} : $str))); } 1; |