Don't return if the err is a warning
This commit is contained in:
parent
ea04aec0b4
commit
44fca91089
1 changed files with 0 additions and 2 deletions
|
|
@ -106,8 +106,6 @@ func cliSensorsPrint() int {
|
|||
fmt.Printf("Failed to retrieve sensor information: %v\n", err)
|
||||
return 1
|
||||
}
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
if len(tempSensors) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue