mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-24 13:48:56 +08:00
Merge pull request #1715 from henrygd/master
Fix error message typo in sensors_linux
This commit is contained in:
commit
2e10d9f7d0
@ -24,7 +24,7 @@ func TemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
|
||||
|
||||
files, err := getTemperatureFiles(ctx)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to get tempreteure files, %w", err)
|
||||
return nil, fmt.Errorf("failed to get temperature files, %w", err)
|
||||
}
|
||||
|
||||
if len(files) == 0 { // handle distributions without hwmon, like raspbian #391, parse legacy thermal_zone files
|
||||
|
Loading…
x
Reference in New Issue
Block a user