diff --git a/inxi b/inxi index 2a50ba8..aacb8e9 100755 --- a/inxi +++ b/inxi @@ -1871,6 +1871,8 @@ get_hdd_data_basic() } # 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 + # this also protects against cases where the mount point has a space in the + # file name, thus breaking going down from $NF directly. if ( $4 ~ /.*\%/ ) { used += $2 }