From 455394f2a8b096c8f2c51ef8d80f7e793a51e83d Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 15 Jun 2013 00:16:32 +0000 Subject: [PATCH] no new version number, but a bug fix anyway, added in another vm disk drive fix. Don't want to inflate inxi versions needlessly. --- inxi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inxi b/inxi index 6b1362a..fb5a958 100755 --- a/inxi +++ b/inxi @@ -4989,7 +4989,6 @@ get_hdd_data_basic() fi hdd_data="$( eval $df_string )" log_function_data 'raw' "hdd_data:\n$hdd_data" - hdd_used=$( echo "$hdd_data" | gawk -v bsdType=$BSD_TYPE ' BEGIN { # this is used for specific cases where bind, or incorrect multiple mounts to same partitions, @@ -5077,7 +5076,7 @@ get_hdd_data_basic() # } # special case from this data: 8 0 156290904 sda # note: vm has 252/253 known starter, grsec has 202 - $1 ~ /^(3|8|22|33|202|252|253)$/ && $NF ~ /[hsv]d[a-z]$/ && ( $2 % 16 == 0 || $2 % 16 == 8 ) { + $1 ~ /^(3|8|22|33|202|252|253|254)$/ && $NF ~ /[hsv]d[a-z]$/ && ( $2 % 16 == 0 || $2 % 16 == 8 ) { size += $3 }