mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
small change, added N/A if no default runlevel is detected, that should help with debugging.
This commit is contained in:
parent
5d35d02e07
commit
062f941199
5
inxi
5
inxi
|
@ -9472,9 +9472,10 @@ print_info_data()
|
||||||
if [[ $B_SHOW_X_DATA != 'true' || $B_EXTRA_DATA == 'true' ]];then
|
if [[ $B_SHOW_X_DATA != 'true' || $B_EXTRA_DATA == 'true' ]];then
|
||||||
if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then
|
if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then
|
||||||
runlvl_default=$( get_runlevel_default )
|
runlvl_default=$( get_runlevel_default )
|
||||||
if [[ -n $runlvl_default ]];then
|
if [[ -z $runlvl_default ]];then
|
||||||
runlvl_default=" ${C1}default$SEP3${C2} $runlvl_default"
|
runlvl_default='N/A'
|
||||||
fi
|
fi
|
||||||
|
runlvl_default=" ${C1}default$SEP3${C2} $runlvl_default"
|
||||||
fi
|
fi
|
||||||
runlvl="$( get_runlevel_data )"
|
runlvl="$( get_runlevel_data )"
|
||||||
if [[ -n $runlvl ]];then
|
if [[ -n $runlvl ]];then
|
||||||
|
|
Loading…
Reference in a new issue