mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
fixed small sys info kernel double space bug
This commit is contained in:
parent
804ec79ce5
commit
ee26174d9e
4
inxi
4
inxi
|
@ -3082,9 +3082,9 @@ print_system_data()
|
||||||
if [[ $B_SHOW_HOST == 'true' ]];then
|
if [[ $B_SHOW_HOST == 'true' ]];then
|
||||||
system_data=$( create_print_line "System:" "${C1}Host${C2} $host_name ${C1}Kernel${C2}" )
|
system_data=$( create_print_line "System:" "${C1}Host${C2} $host_name ${C1}Kernel${C2}" )
|
||||||
else
|
else
|
||||||
system_data=$( create_print_line "System:" "${C1}Kernel${C2} ${CN}" )
|
system_data=$( create_print_line "System:" "${C1}Kernel${C2}" )
|
||||||
fi
|
fi
|
||||||
system_data="$system_data ${C2} $current_kernel $bits ${C1}Distro${C2} $distro"
|
system_data="$system_data $current_kernel $bits ${C1}Distro${C2} $distro"
|
||||||
print_screen_output "$system_data"
|
print_screen_output "$system_data"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue