tiny patch to fix indentation on disk block-physical

This commit is contained in:
Harald Hope 2020-07-27 15:22:41 -07:00
parent 3224a39f80
commit b3b734d87a

10
inxi
View file

@ -40,7 +40,7 @@ use POSIX qw(uname strftime ttyname);
## INXI INFO ##
my $self_name='inxi';
my $self_version='3.1.05';
my $self_date='2020-07-26';
my $self_date='2020-07-27';
my $self_patch='00';
## END INXI INFO ##
@ -8742,10 +8742,10 @@ sub create_output {
}
$rows[$j]{main::key($num++,0,2,'size')} = $size;
if ($b_admin && $row{'block-physical'}){
$rows[$j]{main::key($num++,0,2,'block size')} = '';
$rows[$j]{main::key($num++,0,2,'physical')} = $row{'block-physical'} . ' B';
$rows[$j]{main::key($num++,0,2,'logical')} = ($row{'block-logical'}) ? $row{'block-logical'} . ' B' : 'N/A';
}
$rows[$j]{main::key($num++,1,2,'block size')} = '';
$rows[$j]{main::key($num++,0,3,'physical')} = $row{'block-physical'} . ' B';
$rows[$j]{main::key($num++,0,3,'logical')} = ($row{'block-logical'}) ? $row{'block-logical'} . ' B' : 'N/A';
}}
if ($extra > 1 && $row{'speed'}){
if ($row{'sata'}){
$rows[$j]{main::key($num++,0,2,'sata')} = $row{'sata'};