small bug fix, forgot to check for null value in i printout

This commit is contained in:
inxi-svn 2014-04-01 21:26:15 +00:00
parent befef56f93
commit a1d4e0be88

6
inxi
View file

@ -10529,8 +10529,10 @@ print_networking_ip_data()
if [[ $( calculate_line_length "$if_string_holding$if_string" ) -lt $COLS_INNER ]];then
if_string_holding="$if_string_holding$if_string"
else
full_string=$( create_print_line " " "$if_string_holding${CN}" )
print_screen_output "$full_string"
if [[ -n $if_string_holding ]];then
full_string=$( create_print_line " " "$if_string_holding${CN}" )
print_screen_output "$full_string"
fi
if_string_holding="$if_string"
fi
fi