continue, not break, after SmethodError.

This was a bug added in 8378f85952 when
this code was moved out of a switch.
This commit is contained in:
David Fifield 2017-01-20 15:22:11 -08:00
parent 8378f85952
commit 42cdd53077

View file

@ -272,7 +272,7 @@ func main() {
}
if err != nil {
pt.SmethodError(bindaddr.MethodName, err.Error())
break
continue
}
pt.SmethodArgs(bindaddr.MethodName, ln.Addr(), args)
listeners = append(listeners, ln)