Don't bind any sockets when using -test
This commit is contained in:
parent
2158674d17
commit
982f341de8
|
@ -271,6 +271,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
|
|||
|
||||
if testGracePeriod != nil && *testGracePeriod > 0 {
|
||||
proxy.testGracePeriod = testGracePeriod
|
||||
proxy.listenAddresses = nil
|
||||
}
|
||||
|
||||
if *listAll {
|
||||
|
|
Loading…
Reference in New Issue