From bf6270387ec38236065f42a8fa795e8a3ad0c7a1 Mon Sep 17 00:00:00 2001 From: esrrhs Date: Tue, 5 Nov 2019 09:23:52 +0800 Subject: [PATCH] add --- main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 65b5acc..53aece1 100644 --- a/main.go +++ b/main.go @@ -191,7 +191,11 @@ func main() { } if len(*s5filter) > 0 { - geoip.Load(*s5ftfile) + err := geoip.Load(*s5ftfile) + if err != nil { + loggo.Error("Load Sock5 ip file ERROR: %s", err.Error()) + return + } } filter := func(addr string) bool { if len(*s5filter) <= 0 {