Commit 502a6aee authored by Steven Allen's avatar Steven Allen

fix: return the correct error

This was causing cancel errors to be printed twice.
parent 2e550a16
...@@ -96,7 +96,7 @@ func (c *client) Execute(req *cmds.Request, re cmds.ResponseEmitter, env cmds.En ...@@ -96,7 +96,7 @@ func (c *client) Execute(req *cmds.Request, re cmds.ResponseEmitter, env cmds.En
return nil return nil
} }
return err return closeErr
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment