mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 10:27:45 +02:00
Don't return if the err is a warning
This commit is contained in:
parent
ea04aec0b4
commit
44fca91089
@ -106,8 +106,6 @@ func cliSensorsPrint() int {
|
|||||||
fmt.Printf("Failed to retrieve sensor information: %v\n", err)
|
fmt.Printf("Failed to retrieve sensor information: %v\n", err)
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(tempSensors) == 0 {
|
if len(tempSensors) == 0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user