sensors plugin: Avoid assertion in ignorelist_match () when not configured.
authorSebastian Harl <sh@tokkee.org>
Sat, 23 Dec 2006 13:01:14 +0000 (14:01 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 9 Jan 2007 13:54:31 +0000 (14:54 +0100)
commit4285addef1e67f3d4c4b01ca3cbe5b7a2cae4d89
tree9cfa8cc6f5a61cc26993acc63517cd45ab6a95ef
parent0d402ede02f94bf48dc84962c5f17a2b61cabcc3
sensors plugin: Avoid assertion in ignorelist_match () when not configured.

If the sensors plugin is not configured (i.e. default settings are used) the
ignorelist (sensors_list) is never created causing the assertion in
ignorelist_match () to fail. This fixes it.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/sensors.c