Update: README.md

This commit is contained in:
Dreamacro
2018-08-12 04:22:14 +08:00
parent 63308472ad
commit 752944d381
2 changed files with 24 additions and 7 deletions

View File

@ -256,8 +256,8 @@ func (c *Config) parseProxies(cfg *ini.File) error {
}
proxies[key.Name()] = adapter
case "select":
if len(rule) < 3 {
return fmt.Errorf("Selector need more than 3 param")
if len(rule) < 2 {
return fmt.Errorf("Selector need more than 2 param")
}
proxyNames := rule[1:]
selectProxy := make(map[string]C.Proxy)