@ -128,11 +128,11 @@ func FindProcessByPid(pid int64) (datas Process, err error) {
}
name, err = readAsString("/proc/" + fmt.Sprint(pid) + "/comm")
if err != nil {
return err
return
main, err = readAsString("/proc/" + fmt.Sprint(pid) + "/status")
data := splitBy(main, ":")
datas.Name = strings.TrimSpace(name)