tiny corner case fix to master, corrected bad dri/gpu/x driver test.

Should impact almost nobody, very hard to trigger, but fixing in master
so inxi -U will correct it.
This commit is contained in:
Harald Hope 2022-12-27 16:04:25 -08:00
parent 85f1720a93
commit d1fddeb9ac

4
inxi
View file

@ -49,7 +49,7 @@ use POSIX qw(ceil uname strftime ttyname);
## INXI INFO ## ## INXI INFO ##
my $self_name='inxi'; my $self_name='inxi';
my $self_version='3.3.24'; my $self_version='3.3.24';
my $self_date='2022-12-10'; my $self_date='2022-12-27';
my $self_patch='00'; my $self_patch='00';
## END INXI INFO ## ## END INXI INFO ##
@ -14543,7 +14543,7 @@ sub display_output(){
else { else {
my $gpu_drivers = gpu_drivers_sys('all'); my $gpu_drivers = gpu_drivers_sys('all');
my $note_indent = 4; my $note_indent = 4;
if (@$gpu_drivers || $graphics{'dri-drivers'} && @$x_drivers){ if (@$gpu_drivers || $graphics{'dri-drivers'} || @$x_drivers){
$rows->[$j]{main::key($num++,1,2,'driver')} = ''; $rows->[$j]{main::key($num++,1,2,'driver')} = '';
# The only wayland setups with x drivers have xorg, transitional that is. # The only wayland setups with x drivers have xorg, transitional that is.
if (@$x_drivers){ if (@$x_drivers){