mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
cleanup
This commit is contained in:
parent
2219a926e2
commit
7186914451
2
inxi
2
inxi
|
@ -7167,7 +7167,7 @@ sub disk_data {
|
|||
# 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,
|
||||
# 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'};
|
||||
push @devs, $row{'dev-base'};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue