Skip to content

Commit

Permalink
cgmanager: setup_limits: return true if there are no settings
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
hallyn committed Jan 22, 2014
1 parent 2177dbc commit d966dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/cgmanager.c
Expand Up @@ -384,7 +384,7 @@ static bool setup_limits(struct lxc_handler *h, bool do_devices)
struct cgm_data *d = h->cgroup_info->data;

if (lxc_list_empty(cgroup_settings))
return 0;
return true;

lxc_list_for_each(iterator, cgroup_settings) {
char controller[100], *p;
Expand Down

0 comments on commit d966dd1

Please sign in to comment.