diff --git a/inxi b/inxi index 12c5e78..352368f 100755 --- a/inxi +++ b/inxi @@ -3203,7 +3203,7 @@ get_graphics_driver() xorg_log_data="$( cat $FILE_XORG_LOG )" for driver in $driver_list do - if [[ -n $( grep -s "[[:space:]]Loading.*${driver}_drv.so" <<< "$xorg_log_data" ) && -z $( grep -s "[[:space:]]Unloading.*${driver}_drv.so" <<< "$xorg_log_data" ) ]];then + if [[ -n $( grep -s "[[:space:]]Loading.*${driver}_drv.so" <<< "$xorg_log_data" ) && -z $( grep -s "[[:space:]]Unloading.*${driver}_drv.so" <<< "$xorg_log_data" ) ]];then driver_string="$driver_string$driver$spacer" spacer=' ' fi @@ -5418,7 +5418,7 @@ print_gfx_data() elif [[ $( wc -w <<< $x_driver ) -gt 1 ]];then x_driver_plural='s' fi - x_driver_string="${C1}driver$x_driver_plural:${C2} $x_driver " + x_driver_string="${C1}driver$x_driver_plural${C2} $x_driver " # some basic error handling: if [[ -z $screen_resolution ]];then