Red Hat Bugzilla – Bug 474383
sensors-detect reports error when run without user input
Last modified: 2016-05-31 21:37:11 EDT
Description of problem:
When detecting sensors with standard input redirected from /dev/null there is an error message displayed at the end of detection. This does not have any impact on function but is a bit confusing. As autodetecting (with common defaults) available sensors can be expected in scripts, I think this should be fixed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Use of uninitialized value in pattern match (m//) at /usr/sbin/sensors-detect line 5645.
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
No errors displayed.
Looked into it, should be easily fixable, so proposing for RHEL-5.4.
Thanks & regards, Phil
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.