Commit ef091cef by Bogdan Purcareata Committed by Serge Hallyn

lxcapi_set_cgroup_item: remove duplicate == 0

parent 9c631ea7
...@@ -1393,7 +1393,7 @@ static bool lxcapi_set_cgroup_item(struct lxc_container *c, const char *subsys, ...@@ -1393,7 +1393,7 @@ static bool lxcapi_set_cgroup_item(struct lxc_container *c, const char *subsys,
if (container_disk_lock(c)) if (container_disk_lock(c))
return false; return false;
ret = lxc_cgroup_set(c->name, subsys, value, c->config_path) == 0; ret = lxc_cgroup_set(c->name, subsys, value, c->config_path);
container_disk_unlock(c); container_disk_unlock(c);
return ret == 0; return ret == 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment