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