diff --git a/web/job/check_clinet_ip_job.go b/web/job/check_clinet_ip_job.go index 9dfde67c..29e13a87 100644 --- a/web/job/check_clinet_ip_job.go +++ b/web/job/check_clinet_ip_job.go @@ -46,9 +46,7 @@ func processLogFile() { checkError(err) } - lines := ss.Split(string(data), "\n") if err != nil { - return nil - } + lines := ss.Split(string(data), "\n") for _, line := range lines { ipRegx, _ := regexp.Compile(`[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+`) emailRegx, _ := regexp.Compile(`email:.+`)