diff --git a/inxi b/inxi index b99d8fd..9c64cfb 100755 --- a/inxi +++ b/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'}; }