commands_utils: add missing mutex

parent 36cffe6e
...@@ -211,6 +211,7 @@ int lxc_add_state_client(int state_client_fd, struct lxc_handler *handler, ...@@ -211,6 +211,7 @@ int lxc_add_state_client(int state_client_fd, struct lxc_handler *handler,
return -ENOMEM; return -ENOMEM;
} }
process_lock();
state = handler->state; state = handler->state;
if (states[state] != 1) { if (states[state] != 1) {
lxc_list_add_elem(tmplist, newclient); lxc_list_add_elem(tmplist, newclient);
......
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