collectd: smart: add patch to check udev_enumerate_scan_devices return value 18066/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, 17 Mar 2022 13:11:41 +0000 (14:11 +0100)
commit896a0f0db66950b984f89b7f41bfdf60a47bc499
tree5334be39005f988ec3377d1daa2929a2bfdbe42b
parenta9ea1cf6ed08940be08c6d0170514665ac41d6c1
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>
utils/collectd/patches/941-Check-udev_enumerate_scan_devices-return-value.patch [new file with mode: 0644]