Skip to content

Commit

Permalink
fix: stderr output on command failure
Browse files Browse the repository at this point in the history
  • Loading branch information
utkuozdemir committed Oct 19, 2022
1 parent f79f06e commit de4caf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/exporter/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func ParseAutoQFields(nvidiaSmiCommand string, command runCmd) ([]QField, error)
err := command(cmd)

outStr := stdout.String()
errStr := stdout.String()
errStr := stderr.String()

exitCode := -1

Expand Down

0 comments on commit de4caf9

Please sign in to comment.