diff --git a/lib/connections/service.go b/lib/connections/service.go index 52e29f6b4..d64ffae61 100644 --- a/lib/connections/service.go +++ b/lib/connections/service.go @@ -756,12 +756,11 @@ func dialParallel(deviceID protocol.DeviceID, dialTargets []dialTarget) (interna conn.Close() } }(deviceID, prio) + return conn, ok } else { // Failed to connect, report that fact. l.Debugln("failed to connect to", deviceID, prio) } - - return conn, ok } return internalConn{}, false }