From 39cf6c3eb9ab66ce158b32c4374ee65899651fa9 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Thu, 2 Nov 2023 19:53:07 -0700 Subject: [PATCH] bug fix --- pinxi | 1 + 1 file changed, 1 insertion(+) diff --git a/pinxi b/pinxi index 3c160b5..915b3f3 100755 --- a/pinxi +++ b/pinxi @@ -26492,6 +26492,7 @@ sub load_sys_data { $adapter .= '-' . $hwmons{$hwmon}->{'device'}; ($unit,$value,@values) = (); foreach my $item (@{$hwmons{$hwmon}->{'sensors'}}){ + next if !$item->{'id'}; my $name = ($item->{'label'}) ? $item->{'label'}: $item->{'id'}; if ($item->{'id'} =~ /^temp/){ $unit = 'C';