small change, added N/A if no default runlevel is detected, that should help with debugging.

This commit is contained in:
inxi-svn 2014-01-13 23:44:05 +00:00
parent 5d35d02e07
commit 062f941199

5
inxi
View file

@ -9472,9 +9472,10 @@ print_info_data()
if [[ $B_SHOW_X_DATA != 'true' || $B_EXTRA_DATA == 'true' ]];then
if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then
runlvl_default=$( get_runlevel_default )
if [[ -n $runlvl_default ]];then
runlvl_default=" ${C1}default$SEP3${C2} $runlvl_default"
if [[ -z $runlvl_default ]];then
runlvl_default='N/A'
fi
runlvl_default=" ${C1}default$SEP3${C2} $runlvl_default"
fi
runlvl="$( get_runlevel_data )"
if [[ -n $runlvl ]];then