diff --git a/inxi b/inxi index 9134e2d..a3078cc 100755 --- a/inxi +++ b/inxi @@ -14962,10 +14962,14 @@ sub create_output_zfs { @arrays = @{$row->{'arrays'}}; @arrays = grep {defined $_} @arrays; @arrays_holder = @arrays; + my $count = scalar @arrays; if (!defined $arrays[0]->{'level'} ){ $level = 'no-raid'; $rows[$j]->{main::key($num++,0,2,'level')} = $level; } + elsif ($count < 2 && $arrays[0]->{'level'}){ + $rows[$j]->{main::key($num++,0,2,'level')} = $arrays[0]->{'level'}; + } if ($size){ #print "here 0\n"; $rows[$j]->{main::key($num++,0,2,'size')} = $size; @@ -14981,7 +14985,6 @@ sub create_output_zfs { $rows[$j]->{main::key($num++,0,2,'allocated')} = $allocated; $allocated = ''; } - my $count = scalar @arrays; foreach my $row2 (@arrays){ if ($count > 1){ $j = scalar @rows;