tiny bug fix for tinycore/xvesa, other distros can ignore this.

This commit is contained in:
Harald Hope 2022-03-25 14:16:15 -07:00
parent b3cdcd979a
commit 29e241dc0f

4
inxi
View file

@ -49,7 +49,7 @@ use POSIX qw(ceil uname strftime ttyname);
## INXI INFO ##
my $self_name='inxi';
my $self_version='3.3.14';
my $self_date='2022-03-24';
my $self_date='2022-03-25';
my $self_patch='00';
## END INXI INFO ##
my ($b_pledge,@pledges);
@ -31025,7 +31025,7 @@ sub system_item {
else {
my $dm = ($dms && $dms->[0][0]) ? $dms->[0][0] : 'N/A';
$data{$data_name}->[$index]{main::key($num++,1,$ind_dm,$dm_key)} = $dm;
if ($dms->[0][1]){
if ($dms && $dms->[0][1]){
$data{$data_name}->[$index]{main::key($num++,0,($ind_dm + 1),'v')} = $dms->[0][1];
}
}