diff --git a/inxi b/inxi index df64bb8..777e9fe 100755 --- a/inxi +++ b/inxi @@ -3049,7 +3049,7 @@ get_network_advanced_data() working_path=$working_path/net/$card_port # 2.6.32 debian lenny kernel shows not: /net/eth0 but /net:eth0 else - card_port=$( ls $working_path | grep 'net:' ) + card_port=$( ls $working_path 2>/dev/null | grep 'net:' ) eth_id=$( cut -d ':' -f 2 <<< "$card_port" ) working_path=$working_path/$card_port fi