summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/include/thermal_sensors.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/widgets/include/thermal_sensors.inc')
-rw-r--r--usr/local/www/widgets/include/thermal_sensors.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/include/thermal_sensors.inc b/usr/local/www/widgets/include/thermal_sensors.inc
index 2ebc31d..e193b15 100644
--- a/usr/local/www/widgets/include/thermal_sensors.inc
+++ b/usr/local/www/widgets/include/thermal_sensors.inc
@@ -19,7 +19,7 @@ $thermal_sensors_widget_title = "Thermal Sensors";
//NOTE: depends on proper cofing in System >> Advanced >> Miscellaneous tab >> Thermal Sensors section.
function getThermalSensorsData() {
- exec("/sbin/sysctl -a | grep temperature", $dfout);
+ $_gb = exec("/sbin/sysctl -a | grep temperature", $dfout);
$thermalSensorsData = join("|", $dfout);
return $thermalSensorsData;
OpenPOWER on IntegriCloud