From 41dbd23c9dd65acff0df33dc9ae592fa32a925c4 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 Apr 2011 07:17:23 +0000 Subject: [PATCH] bug fix? --- inxi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 189af7e..7db339f 100755 --- a/inxi +++ b/inxi @@ -3327,12 +3327,14 @@ get_networking_data() print string ",,,,usb-" $6 } }' <<< "$card_data" ) - IFS=$'\n' + if [[ -n $array_string ]];then + IFS=$'\n' array_count=${#A_AUDIO_DATA[@]} A_NETWORK_DATA[$array_count]="$array_string" + IFS="$ORIGINAL_IFS" fi - IFS="$ORIGINAL_IFS" + fi fi