mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
(debugger)
This commit is contained in:
parent
d606f89e45
commit
3a6580e1a2
4
inxi
4
inxi
|
@ -3079,7 +3079,9 @@ print_gfx_data()
|
||||||
local glx_renderer="${A_GLX_DATA[0]}"
|
local glx_renderer="${A_GLX_DATA[0]}"
|
||||||
local glx_version="${A_GLX_DATA[1]}"
|
local glx_version="${A_GLX_DATA[1]}"
|
||||||
# this can contain a long No case debugging message, so it's being sliced off
|
# this can contain a long No case debugging message, so it's being sliced off
|
||||||
local glx_direct_render=$( grep -oiE '^(Yes|No)' <<< "${A_GLX_DATA[2]}" )
|
local glx_direct_render=$( gawk '{
|
||||||
|
print $1
|
||||||
|
}' <<< "${A_GLX_DATA[2]}" )
|
||||||
|
|
||||||
if [[ ${#A_GFX_CARD_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_GFX_CARD_DATA[@]} -gt 1 ]];then
|
||||||
i=1
|
i=1
|
||||||
|
|
Loading…
Reference in a new issue