From 5b6a953013119ffeafdfef304f8712b0f7b9d4bf Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 9 Jan 2009 03:45:32 +0000 Subject: [PATCH] improved comments --- inxi | 2 ++ 1 file changed, 2 insertions(+) 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 }