]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - frontend/loop.go
Update copyright years
[safcm/safcm.git] / frontend / loop.go
index 5e232a3aaad6165d4d7305fb1b116056abca5ef9..6e9310034ab0da32e3ac3a85e0f8b757d3ba103d 100644 (file)
@@ -1,7 +1,7 @@
 // Frontend: Host synchronization and logging event loop for programs using
 // the safcm library
 
-// Copyright (C) 2021  Simon Ruderich
+// Copyright (C) 2021-2024  Simon Ruderich
 //
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -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 {