Skip to content

Commit

Permalink
get the right path in get_cgroup command
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
  • Loading branch information
Blub authored and Christian Brauner committed Jul 3, 2020
1 parent 6dc1208 commit 3a7f78f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/commands.c
Expand Up @@ -592,8 +592,8 @@ static int lxc_cmd_get_cgroup_callback_do(int fd, struct lxc_cmd_req *req,
reqdata = NULL;
}

get_fn = (limiting_cgroup ? cgroup_ops->get_cgroup
: cgroup_ops->get_limiting_cgroup);
get_fn = (limiting_cgroup ? cgroup_ops->get_limiting_cgroup
: cgroup_ops->get_cgroup);

path = get_fn(cgroup_ops, reqdata);

Expand Down

0 comments on commit 3a7f78f

Please sign in to comment.