mirror of https://github.com/cbeuw/Cloak
Remove an unnecessary fatal
This commit is contained in:
parent
2de034ec92
commit
850f45d66f
|
|
@ -263,7 +263,6 @@ func main() {
|
||||||
https, _ := net.ResolveTCPAddr("tcp", ":443")
|
https, _ := net.ResolveTCPAddr("tcp", ":443")
|
||||||
http, _ := net.ResolveTCPAddr("tcp", ":80")
|
http, _ := net.ResolveTCPAddr("tcp", ":80")
|
||||||
sta.BindAddr = []net.Addr{https, http}
|
sta.BindAddr = []net.Addr{https, http}
|
||||||
log.Fatalf("BindAddr cannot be empty")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// when cloak is started as a shadowsocks plugin
|
// when cloak is started as a shadowsocks plugin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue