Unverified Commit 59c018f2 by Serge Hallyn Committed by GitHub

Merge pull request #2547 from brauner/2018-08-18/fix_execute_parsing

tools: fix lxc-execute command parsing
parents 0a4f0d02 0044aab0
...@@ -129,6 +129,7 @@ static bool set_argv(struct lxc_container *c, struct lxc_arguments *args) ...@@ -129,6 +129,7 @@ static bool set_argv(struct lxc_container *c, struct lxc_arguments *args)
char buf[MAXPATHLEN]; char buf[MAXPATHLEN];
char **components, **p; char **components, **p;
buf[0] = '\0';
ret = c->get_config_item(c, "lxc.execute.cmd", buf, MAXPATHLEN); ret = c->get_config_item(c, "lxc.execute.cmd", buf, MAXPATHLEN);
if (ret < 0) if (ret < 0)
return false; return false;
......
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