mirror of
https://github.com/vbatts/go-cgroup.git
synced 2025-06-28 14:48:30 +00:00
fix bug
This commit is contained in:
parent
0018044404
commit
9bbf0f5702
1 changed files with 1 additions and 1 deletions
2
cg.go
2
cg.go
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue