This commit is contained in:
inxi-svn 2011-04-30 06:23:07 +00:00
parent ba8970db1b
commit 4fcd0b12af

2
inxi
View file

@ -3371,7 +3371,7 @@ get_network_advanced_data()
if [[ -n $working_path && -n $product_path ]] && [[ $working_path == $product_path ]];then if [[ -n $working_path && -n $product_path ]] && [[ $working_path == $product_path ]];then
# now ls that directory and get the numeric starting sub directory and that should be the full path # now ls that directory and get the numeric starting sub directory and that should be the full path
# to the /net directory part # to the /net directory part
dir_path=$( ls ${working_path} | grep -sE '^[0-9]' ) dir_path=$( ls ${working_path} 2>/dev/null | grep -sE '^[0-9]' )
working_path="${working_path}${dir_path}" working_path="${working_path}${dir_path}"
fi fi
fi fi