1
0
Fork 0
mirror of https://github.com/vbatts/go-cgroup.git synced 2025-06-28 14:48:30 +00:00

Merge pull request #2 from TokyoYoshida/fix-bug

fix bug
This commit is contained in:
TokyoYoshida 2017-04-22 19:42:06 +09:00 committed by GitHub
commit 0df2138b76

2
cg.go
View file

@ -221,7 +221,7 @@ func (cg Cgroup) GetUIDGID() (tasksUID UID, tasksGID GID, controlUID UID, contro
}
func (cg Cgroup) AttachTaskPid(pid Int) {
func (cg Cgroup) AttachTaskPid(pid int) error {
return _err(C.cgroup_attach_task_pid(cg.g, pid))
}