From f0a0a2bac69fd1d6c4cf4c1e4f3f1a0423ba7fe5 Mon Sep 17 00:00:00 2001 From: "trash80.v2.0" Date: Thu, 25 Dec 2008 12:23:30 +0000 Subject: [PATCH] fixed hdd bug caused by missing $ in var. Merry Christmas --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index eaa5de8..591947f 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.9 -#### Date: December 24 2008 +#### version: 0.9.1 +#### Date: December 25 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif #### As time permits functionality improvements and recoding will occur. @@ -1793,7 +1793,7 @@ get_hdd_data_basic() # final item is the total of the disk IFS=$'\n' - if [[ B_PARTITIONS_DIR == 'true' ]];then + if [[ $B_PARTITIONS_DIR == 'true' ]];then A_HDD_DATA=( $( gawk -v hddused="$hdd_used" ' /[hs]d[a-z]$/ { driveSize = $(NF - 1)*1024/1000**3