From 5abe728d519153c79fd64fb972bd8baf980de4e4 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 19 Oct 2012 05:52:13 +0000 Subject: [PATCH] another bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 2b0dbc0..d5a037a 100755 --- a/inxi +++ b/inxi @@ -4871,7 +4871,7 @@ get_network_advanced_data() # working_path=$( ls /sys/devices/pci*/*/0000:${a_network_adv_working[4]}/net/*/uevent ) else # slice off the usb- part - usb_data=$( cut -d '-' -f 2-4 <<< ${a_network_adv_working[4]} ) + usb_data=$( cut -d '-' -f 2-4 <<< ${a_network_adv_working[10]} ) usb_vendor=$( cut -d ':' -f 1 <<< $usb_data ) usb_product=$( cut -d ':' -f 2 <<< $usb_data ) # this grep returns the path plus the contents of the file, with a colon separator, so slice that off