From 8deff8d7f0d8548874348b10d83cababbc001731 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 16 Sep 2010 21:19:50 +0000 Subject: [PATCH] reset variable in a loop to avoid error --- inxi | 1 + 1 file changed, 1 insertion(+) diff --git a/inxi b/inxi index c699060..52bb880 100755 --- a/inxi +++ b/inxi @@ -3148,6 +3148,7 @@ get_partition_data() IFS="," a_partition_working=( ${A_PARTITION_DATA[i]} ) IFS="$ORIGINAL_IFS" + dev_item='' # reset each loop # note: for swap this will already be set if [[ -n $( grep -E '(by-uuid|by-label)' <<< ${a_partition_working[6]} ) ]];then if [[ -n $DEV_DISK_UUID ]];then