diff --git a/hwinfo/src/ids/convert_hd b/hwinfo/src/ids/convert_hd index c12810e..83d47b7 100755 --- a/hwinfo/src/ids/convert_hd +++ b/hwinfo/src/ids/convert_hd @@ -609,7 +609,7 @@ sub read_driver_file my $rdf_save_drv = sub { if($drv_type) { - push @hd, [ @drv ] if defined @drv; + push @hd, [ @drv ] if @drv; @drv = ( "$file_name($line)" ); $drv[2][$he_driver] = [ $flag_string ]; $drv_type = undef;