aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2016-09-20 13:23:15 +0000
committerWeblate <noreply@weblate.org>2016-09-20 13:23:15 +0000
commit9f26fdc64823d7ddb303909a4afe78532e02258d (patch)
treee1f2b2ee2d8e6587dab34463d146dcc2300e5270 /src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
parentTranslated using Weblate (lumina_WM@lt (generated)) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-9f26fdc64823d7ddb303909a4afe78532e02258d.tar.gz
lumina-9f26fdc64823d7ddb303909a4afe78532e02258d.tar.bz2
lumina-9f26fdc64823d7ddb303909a4afe78532e02258d.zip
Merge branch 'master' of https://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
index 10216f92..5cdf18bc 100644
--- a/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-FreeBSD.cpp
@@ -292,7 +292,7 @@ QString LOS::FileSystemCapacity(QString dir) { //Return: percentage capacity as
QStringList LOS::CPUTemperatures(){ //Returns: List containing the temperature of any CPU's ("50C" for example)
static QStringList vars = QStringList();
QStringList temps;
- if(vars.isEmpty()){ temps = LUtils::getCmdOutput("sysctl -ai").filter(".temperature:"); }
+ if(vars.isEmpty()){ temps = LUtils::getCmdOutput("sysctl -i hw.").filter(".temperature:"); }
else{ temps = LUtils::getCmdOutput("sysctl "+vars.join(" ")); vars.clear(); }
temps.sort();
bgstack15