提交 29d0cd0b 编写于 作者: D Derek Parker

Cleanup ignored waitstatus

上级 425117a3
......@@ -94,8 +94,7 @@ func Launch(cmd []string) (*DebuggedProcess, error) {
return nil, err
}
var status syscall.WaitStatus
_, err := syscall.Wait4(proc.Process.Pid, &status, syscall.WALL, nil)
_, err := syscall.Wait4(proc.Process.Pid, nil, syscall.WALL, nil)
if err != nil {
return nil, fmt.Errorf("waiting for target execve failed: %s", err)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册