From 17d057ab08ee6f0661494757e015ffaa02ad5c95 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 12 Mar 2014 23:46:50 +0000 Subject: [PATCH] small adjustment in branch one --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 75f4609..80f413e 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### Version: 2.0.0 #### Date: 2014-03-12 -#### Patch Number: 01-b1 +#### Patch Number: 02-b1 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -9567,7 +9567,7 @@ print_info_data() # this only triggers if no X data is present or if extra data switch is on if [[ $B_SHOW_DISPLAY_DATA != 'true' || $B_EXTRA_DATA == 'true' ]];then get_init_data - if [[ ${A_INIT_DATA[0]} == 'systemd' ]];then + if [[ ${A_INIT_DATA[0]} == 'systemd' && -z $( grep -E '^[0-9]$' <<< ${A_INIT_DATA[0]} ) ]];then runlvl_title='target' fi init_type=${A_INIT_DATA[0]}