From 4fcd0b12afb585d20992483ea993fdf63091f3ca Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 Apr 2011 06:23:07 +0000 Subject: [PATCH] bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index dbb0b40..8cc3749 100755 --- a/inxi +++ b/inxi @@ -3371,7 +3371,7 @@ get_network_advanced_data() 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 # 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}" fi fi