1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

main.go: Simplify boolean expression because the linter says so.

This commit is contained in:
Henrik Hautakoski 2022-11-28 15:39:59 +01:00
parent b24d8d1e2c
commit bcc0fcd7d7

View file

@ -111,7 +111,7 @@ func run() {
case <-interrupt:
log.Println("Interrupt, closing")
if shClient.IsOpen() == false {
if !shClient.IsOpen() {
log.Println("ship client not connected, exiting...")
return
}