diff --git a/inxi b/inxi index 2f6b1aa..cfd2d21 100755 --- a/inxi +++ b/inxi @@ -7100,7 +7100,7 @@ sub get { @data = OpticalData::get(); @rows = (@rows,@data); } - ($b_hddtemp,$b_nvme,$hddtemp,$nvme) = (undef,undef,undef,undef,undef); + ($b_hddtemp,$b_nvme,$hddtemp,$nvme) = (undef,undef,undef,undef); (@by_id,@by_path) = (undef,undef); eval $end if $b_log; return @rows; @@ -7361,7 +7361,6 @@ sub proc_data_advanced { foreach my $ref (@scsi){ my %row = %$ref; if ($row{'model'}){ - # $row{'model'} =~ s/\s/_/g; $row{'model'} = (split /\s*-\s*/,$row{'model'})[0]; foreach my $id (@by_id){ if ($id =~ /$row{'model'}/ && "/dev/$drives[$i]{'id'}" eq Cwd::abs_path($id)){