提交 e39f17af 编写于 作者: S Shirou WAKAYAMA

process: fix process status parsing.

上级 9d38e5c9
......@@ -450,7 +450,7 @@ func (p *Process) fillFromStatus() error {
case "State":
// get between "(" and ")"
s := strings.Index(value, "(") + 1
e := strings.Index(value, "(") + 1
e := strings.Index(value, ")")
p.status = value[s:e]
case "Uid":
p.uids = make([]int32, 0, 4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册