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