Commit f02abefe by Dwight Engen Committed by Serge Hallyn

fix check for lock acquired

parent 93dc5327
......@@ -418,7 +418,7 @@ static void lxcapi_want_daemonize(struct lxc_container *c)
{
if (!c)
return;
if (!container_mem_lock(c)) {
if (container_mem_lock(c)) {
ERROR("Error getting mem lock");
return;
}
......
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