This commit is contained in:
Zack Scholl 2018-07-01 12:49:50 -07:00
parent bc5f4b7131
commit f4d607a4cf
1 changed files with 2 additions and 2 deletions

View File

@ -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