switch to next minor release
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 1 May 2011 20:59:10 +0000 (20:59 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sun, 1 May 2011 20:59:10 +0000 (20:59 +0000)
avoid fetching hddtemp daemon when no hdd in the sensors list

NEWS
configure.ac
src/lib/psensor.c

diff --git a/NEWS b/NEWS
index ce3cb46..2959663 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+* v0.6.1.9
+
+** avoid fetching hddtemp daemon when no hdd in the sensors list
+
 * v0.6.1.8
 
 ** psensor: added turkish language
index 1376f2e..12a9226 100644 (file)
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.64])
-AC_INIT([psensor], [0.6.1.8],[wpitchoune@gmail.com],[psensor],[http://wpitchoune.net/psensor])
+AC_INIT([psensor], [0.6.1.9],[wpitchoune@gmail.com],[psensor],[http://wpitchoune.net/psensor])
 
 AM_INIT_AUTOMAKE([-Wall -Werror gnu])
 
index 5b9ffb2..279cec6 100644 (file)
@@ -436,5 +436,7 @@ const char *psensor_type_to_str(unsigned int type)
 void psensor_list_update_measures(struct psensor **sensors)
 {
        lmsensor_psensor_list_update(sensors);
-       hdd_psensor_list_update(sensors);
+
+       if (psensor_list_contains_type(sensors, SENSOR_TYPE_HDD_TEMP)) 
+               hdd_psensor_list_update(sensors);
 }