Don't return if the err is a warning
This commit is contained in:
1 parent
ea04aec0b4
commit
44fca91089
1 file changed
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user