Skip to content

Commit

Permalink
lxccontainer: lxcapi_start()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Feb 24, 2018
1 parent 702bf73 commit 0c14779
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lxc/lxccontainer.c
Expand Up @@ -1096,12 +1096,15 @@ static bool do_lxcapi_start(struct lxc_container *c, int useinit, char * const a
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;

current_config = c ? c->lxc_conf : NULL;
ret = do_lxcapi_start(c, useinit, argv);
current_config = NULL;

return ret;
}

Expand Down

0 comments on commit 0c14779

Please sign in to comment.