diff --git a/spn/crew/op_connect.go b/spn/crew/op_connect.go index df5e4dbf..0fc2174c 100644 --- a/spn/crew/op_connect.go +++ b/spn/crew/op_connect.go @@ -152,7 +152,7 @@ func NewConnectOp(tunnel *Tunnel) (*ConnectOp, *terminal.Error) { // Initialize. tErr := op.t.StartOperation(op, container.New(data), 5*time.Second) - if err != nil { + if tErr != nil { return nil, tErr }