Don't return if the err is a warning

This commit is contained in:
Svilen Markov 2025-04-22 23:56:00 +01:00
parent ea04aec0b4
commit 44fca91089

View File

@ -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 {