Skip to content

Commit

Permalink
Merge pull request #1715 from henrygd/master
Browse files Browse the repository at this point in the history
Fix error message typo in sensors_linux
  • Loading branch information
shirou authored Oct 1, 2024
2 parents 7ec1343 + 112f4c0 commit 2e10d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensors/sensors_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e10d9f

Please sign in to comment.