collectd: smart: add patch to check udev_enumerate_scan_devices return value 18839/head
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 15 Mar 2022 14:03:46 +0000 (15:03 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 30 Jun 2022 12:45:26 +0000 (14:45 +0200)
commitebe9833ea080aaae16f9a06785be5ab613d7a5ae
treea9372b6812dab6a7e28961f026ea16faca48a9c9
parent277312320147e80ef3df492fba15df80c10a5c8f
collectd: smart: add patch to check udev_enumerate_scan_devices return value

The function udev_enumarte_scan_devices returns a value less than 0 on
failure. If this is the case then we terminate the read for this smart
information.

This change was already send upstream. And could be delete in feature
collectd versions.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 896a0f0db66950b984f89b7f41bfdf60a47bc499)
utils/collectd/patches/941-Check-udev_enumerate_scan_devices-return-value.patch [new file with mode: 0644]