diff --git a/inxi b/inxi index 6d5a3e6..4a0c036 100755 --- a/inxi +++ b/inxi @@ -5540,9 +5540,11 @@ print_gfx_data() if [[ -n $gfx_data && $( wc -c <<< ${gfx_data}$display_full_string ) -lt $line_max ]];then gfx_data=$( create_print_line "$line_starter" "${gfx_data}$display_full_string" ) else - gfx_data=$( create_print_line "$line_starter" "$gfx_data" ) - print_screen_output "$gfx_data" - line_starter=' ' + if [[ -n $gfx_data ]];then + gfx_data=$( create_print_line "$line_starter" "$gfx_data" ) + print_screen_output "$gfx_data" + line_starter=' ' + fi gfx_data=$( create_print_line "$line_starter" "$display_full_string" ) fi print_screen_output "$gfx_data"