From 9a8050c46d20d13a4654dcd912f47590c5ca6318 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 13 Dec 2008 20:08:32 +0000 Subject: [PATCH] test 4 --- inxi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index cbb735c..088af9b 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.8.5-b1-t3 +#### version: 0.8.5-b1-t4 #### Date: December 12 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -2370,6 +2370,12 @@ print_gfx_data() local b_is_mesa='false' if [[ $B_TESTING_1 == 'true' ]];then + if [[ -n $DISPLAY ]];then + print_screen_output "Not null test for DISPLAY shows not null: $DISPLAY" + else + print_screen_output "DISPLAY: shows as fucking null even though as you see below it's not null!" + fi + print_screen_output "DISPLAY: $DISPLAY" print_screen_output "B_X_RUNNING: $B_X_RUNNING" fi