diff --git a/inxi b/inxi index 3c4f33e..2ce1668 100755 --- a/inxi +++ b/inxi @@ -3079,7 +3079,9 @@ print_gfx_data() local glx_renderer="${A_GLX_DATA[0]}" local glx_version="${A_GLX_DATA[1]}" # 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 i=1