mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 03:55:55 +00:00
commands: use LXC_CMD_REAP_CLIENT_FD in lxc_cmd_get_cgroup2_fd_callback()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
ea2a070bc5
commit
a804c19ba5
@ -1298,7 +1298,7 @@ static int lxc_cmd_get_cgroup2_fd_callback(int fd, struct lxc_cmd_req *req,
|
|||||||
ret = lxc_abstract_unix_send_fds(fd, &ops->unified->cgfd_con, 1, &rsp,
|
ret = lxc_abstract_unix_send_fds(fd, &ops->unified->cgfd_con, 1, &rsp,
|
||||||
sizeof(rsp));
|
sizeof(rsp));
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return log_error(1, "Failed to send cgroup2 fd");
|
return log_error(LXC_CMD_REAP_CLIENT_FD, "Failed to send cgroup2 fd");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user