Skip to content

Commit

Permalink
cgroups: fix braino during controller list creation
Browse files Browse the repository at this point in the history
Co-mounted controllers are conventionally separated by ",".

Fixes: https://jenkins.linuxcontainers.org/job/lxd-github-commit/1905/arch=amd64,backend=dir,compiler=golang-1.15/consoleFull
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 24, 2021
1 parent 70ba94f commit 327baff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/cgroups/cgfsng.c
Expand Up @@ -337,7 +337,7 @@ static char **list_add_controllers(char *controllers)
__do_free_string_list char **list = NULL;
char *it;

lxc_iterate_parts(it, controllers, " \t\n") {
lxc_iterate_parts(it, controllers, ", \t\n") {
int ret;

ret = list_add_string(&list, it);
Expand Down

0 comments on commit 327baff

Please sign in to comment.