From a1d4e0be8887f316303b9e76fc46b722db6605ac Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 1 Apr 2014 21:26:15 +0000 Subject: [PATCH] small bug fix, forgot to check for null value in i printout --- inxi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 7e2dfc1..c90def3 100755 --- a/inxi +++ b/inxi @@ -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