From 29e241dc0fdebd78058953eb9a25aa95c984d651 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Fri, 25 Mar 2022 14:16:15 -0700 Subject: [PATCH] tiny bug fix for tinycore/xvesa, other distros can ignore this. --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 1f983d1..ba82ddc 100755 --- a/inxi +++ b/inxi @@ -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]; } }