diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/devices/sensors.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/devices/sensors.c b/modules/devices/sensors.c index 38156d27..ed4bc357 100644 --- a/modules/devices/sensors.c +++ b/modules/devices/sensors.c @@ -246,7 +246,10 @@ static void read_sensors_hwmon(void) DEBUG("should be reading from %s", path_sensor); if (!g_file_get_contents(path_sensor, &tmp, NULL, NULL)) { g_free(path_sensor); - break; + if (count<256) + continue; // brute-force find all + else + break; } mon = g_strdup_printf(sensor->key_format, count); |