lxccontainer: lxcapi_start()

parent 702bf732
...@@ -1096,12 +1096,15 @@ on_error: ...@@ -1096,12 +1096,15 @@ on_error:
return true; return true;
} }
static bool lxcapi_start(struct lxc_container *c, int useinit, char * const argv[]) static bool lxcapi_start(struct lxc_container *c, int useinit,
char *const argv[])
{ {
bool ret; bool ret;
current_config = c ? c->lxc_conf : NULL; current_config = c ? c->lxc_conf : NULL;
ret = do_lxcapi_start(c, useinit, argv); ret = do_lxcapi_start(c, useinit, argv);
current_config = NULL; current_config = NULL;
return ret; return ret;
} }
......
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