Update system.go
Some checks failed
Collect Code Coverage / build (push) Has been cancelled
Auto Publish Website / goreleaser (push) Has been cancelled

Signed-off-by: link <a624669980@163.com>
This commit is contained in:
link 2025-07-01 15:05:40 +08:00 committed by GitHub
parent a6ff39e47d
commit b9098101e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -482,7 +482,7 @@ func GetCPUThermalZone() string {
name = strings.TrimSuffix(string(file.ReadFullFile(path+"/type")), "\n")
for _, s := range cpu_types {
if strings.HasPrefix(name, s) {
logger.Info(fmt.Sprintf("CPU thermal zone found: %s, path: %s.", name, path))
//logger.Info(fmt.Sprintf("CPU thermal zone found: %s, path: %s.", name, path))
Cache.SetDefault(keyName, path)
return path
}