]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - frontend/loop.go
ci/run: run golangci-lint
[safcm/safcm.git] / frontend / loop.go
index 5e232a3aaad6165d4d7305fb1b116056abca5ef9..232b43aa8f184709015fde6e99cf1d3fe426aa72 100644 (file)
@@ -144,10 +144,10 @@ func (l *Loop) syncHost(wg *sync.WaitGroup, host Host) error {
 
        err := host.Dial(conn)
        if err != nil {
-               conn.Kill()
+               conn.Kill() //nolint:errcheck
                return err
        }
-       defer conn.Kill()
+       defer conn.Kill() //nolint:errcheck
 
        err = l.SyncHostFunc(conn, host)
        if err != nil {