diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go index d9fc0442d..ab828d747 100644 --- a/communicator/ssh/communicator.go +++ b/communicator/ssh/communicator.go @@ -250,7 +250,8 @@ func (c *comm) newSession() (session *ssh.Session, err error) { func (c *comm) reconnect() (err error) { if c.conn != nil { - return c.conn.Close() + // Ignore errors here because we don't care if it fails + c.conn.Close() } // Set the conn and client to nil since we'll recreate it