This commit is contained in:
Harald Hope 2018-04-17 17:42:03 -07:00
parent 2219a926e2
commit 7186914451

2
inxi
View file

@ -7167,7 +7167,7 @@ sub disk_data {
# to same partitions, or btrfs sub volume mounts, is present. The value is # to same partitions, or btrfs sub volume mounts, is present. The value is
# searched for an earlier appearance of that partition and if it is present, # searched for an earlier appearance of that partition and if it is present,
# the data is not added into the partition used size. # the data is not added into the partition used size.
if ( $row{'dev-base'} !~ /^\/\/|:\/\// && ! (grep {/$row{'dev-base'}/} @devs) ){ if ( $row{'dev-base'} !~ /^\/\/|:\// && ! (grep {/$row{'dev-base'}/} @devs) ){
$used += $row{'used'} if $row{'used'}; $used += $row{'used'} if $row{'used'};
push @devs, $row{'dev-base'}; push @devs, $row{'dev-base'};
} }