start: check correct flags when receiving network devices

This was introduced by faulty conflict resolution during cherry-picking. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent a8450455
...@@ -1097,7 +1097,7 @@ static int do_start(void *data) ...@@ -1097,7 +1097,7 @@ static int do_start(void *data)
if (ret < 0) if (ret < 0)
goto out_error; goto out_error;
if (handler->ns_unshare_flags & CLONE_NEWNET) { if (handler->ns_clone_flags & CLONE_NEWNET) {
ret = lxc_network_recv_from_parent(handler); ret = lxc_network_recv_from_parent(handler);
if (ret < 0) { if (ret < 0) {
ERROR("Failed to receive veth names from parent"); ERROR("Failed to receive veth names from parent");
......
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