mirror of
https://github.com/safing/portmaster
synced 2025-04-12 23:19:10 +00:00
Fix error handling in connect op
This commit is contained in:
parent
8c048989f8
commit
c2cbd27b8a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue