system-stat: don't log about no cpu temp found unless it's really true.

This commit is contained in:
Lemmy
2026-02-06 21:44:25 -05:00
parent 944ec5c1ce
commit 1067575848
+2 -2
View File
@@ -703,8 +703,8 @@ Singleton {
root.cpuThermalZonePaths = cpuZones.map(z => z.path);
const types = cpuZones.map(z => z.type).join(", ");
Logger.i("SystemStat", `Found ${cpuZones.length} CPU thermal zone(s): ${types}`);
} else {
Logger.w("No supported temperature sensor found");
} else if (root.cpuTempHwmonPath === "") {
Logger.w("SystemStat", "No supported temperature sensor found");
}
// GPU thermal zones