From 2334aa1c880aecd062a6ff2b272608f675092a95 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 14 Oct 2016 08:50:02 -0400 Subject: Oops - forgot to save the fallback CPU temperature reading into the variable. --- src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp index d0e8cb4e..2bffb5a1 100644 --- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp +++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp @@ -294,7 +294,7 @@ QStringList LOS::CPUTemperatures(){ //Returns: List containing the temperature o QStringList temps; if(vars.isEmpty()){ temps = LUtils::getCmdOutput("sysctl -i dev.cpu").filter(".temperature:"); //try direct readings first - if(temps.isEmpty()){ LUtils::getCmdOutput("sysctl -i hw.acpi").filter(".temperature:"); } // then try acpi values + if(temps.isEmpty()){ temps = LUtils::getCmdOutput("sysctl -i hw.acpi").filter(".temperature:"); } // then try acpi values }else{ temps = LUtils::getCmdOutput("sysctl "+vars.join(" ")); vars.clear(); } temps.sort(); -- cgit