Commit d1ccb562 by Aleksandr Mezin

start: use LXC_SYNC_ERROR to report errors.

This gives more meaningful error message than "invalid sequence". Signed-off-by: 's avatarAleksandr Mezin <mezin.alexander@gmail.com>
parent ea720ff1
...@@ -868,9 +868,9 @@ static int do_start(void *data) ...@@ -868,9 +868,9 @@ static int do_start(void *data)
handler->ops->start(handler, handler->data); handler->ops->start(handler, handler->data);
out_warn_father: out_warn_father:
/* we want the parent to know something went wrong, so any /* we want the parent to know something went wrong, so we return a special
* value other than what it expects is ok. */ * error code. */
lxc_sync_wake_parent(handler, LXC_SYNC_POST_CONFIGURE); lxc_sync_wake_parent(handler, LXC_SYNC_ERROR);
return -1; return -1;
} }
......
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