mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 21:30:16 +02:00
fix bug
This commit is contained in:
parent
bc5f4b7131
commit
f4d607a4cf
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ func (c *Croc) Send(fname string, codePhrase string) (err error) {
|
|||
|
||||
var ri runInfo
|
||||
ri = <-runClientError
|
||||
if ri.err != nil && ri.bothConnected {
|
||||
return
|
||||
if ri.bothConnected {
|
||||
return ri.err
|
||||
}
|
||||
ri = <-runClientError
|
||||
return ri.err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue