mirror of https://github.com/schollz/croc.git
fix #493: data race in cli.relay
This commit is contained in:
parent
1851327df7
commit
40ac320261
|
@ -470,7 +470,7 @@ func relay(c *cli.Context) (err error) {
|
|||
continue
|
||||
}
|
||||
go func(portStr string) {
|
||||
err = tcp.Run(debugString, host, portStr, determinePass(c))
|
||||
err := tcp.Run(debugString, host, portStr, determinePass(c))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue