From 10f88b360e70f4e114ec87aec8f69f83c1ea002b Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Mon, 22 Aug 2022 18:53:52 -0700 Subject: [PATCH] bug fix for ipmitool located, typo, sensors instead of sensor --- inxi | 2 +- inxi.changelog | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 7ba5d57..8f66509 100755 --- a/inxi +++ b/inxi @@ -23283,7 +23283,7 @@ sub ipmi_data { ($b_ipmitool,$i_key,$i_value,$i_unit) = (0,1,3,4); } else { # ipmitool - $cmd = "$program sensors"; + $cmd = "$program sensor"; ($b_ipmitool,$i_key,$i_value,$i_unit) = (1,0,1,2); } @data = main::grabber("$cmd 2>/dev/null"); diff --git a/inxi.changelog b/inxi.changelog index 1e5781e..0e795ff 100644 --- a/inxi.changelog +++ b/inxi.changelog @@ -47,6 +47,8 @@ returned an undefined value instead of the hash reference it was supposed to. This is the first time I've seen this happen with ipmi, but there have not been a lot of ipmi samples. +[update: the bug was running ipmitool sensors instead of ipmitool sensor] + Thanks issue poster #274 for having systems that triggered this scenario. 3. $source for ipmi was set to lm-sensors by accident. @@ -175,7 +177,7 @@ change --force pkg/rpm to switch on $force{package}. 2. Refactored package PackageData to be more granular. -------------------------------------------------------------------------------- --- Harald Hope - Mon, 22 Aug 2022 17:46:23 -0700 +-- Harald Hope - Mon, 22 Aug 2022 18:46:23 -0700 ================================================================================ Version: 3.3.20