diff --git a/inxi b/inxi index fb8ed64..2a50ba8 100755 --- a/inxi +++ b/inxi @@ -1870,6 +1870,7 @@ get_hdd_data_basic() getline } # if the first item caused a wrap, use one less than standard + # testing for the field with % in it, ie: 34%, then go down from there if ( $4 ~ /.*\%/ ) { used += $2 }