mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +00:00
PCI bus is always required even if it might be missing on some
platforms. So don't choke is it is missing. Patch from Jaromir Capik. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6038 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2996,7 +2996,7 @@ sub read_sys_dev_pci
|
||||
my ($dev, @pci_list);
|
||||
|
||||
opendir(local *DEVICES, "$devices")
|
||||
or die "$devices: $!";
|
||||
or return \@pci_list;
|
||||
|
||||
while (defined($dev = readdir(DEVICES))) {
|
||||
my %record;
|
||||
|
Reference in New Issue
Block a user