Skip to content

Commit

Permalink
Merge pull request lxc#2547 from brauner/2018-08-18/fix_execute_parsing
Browse files Browse the repository at this point in the history
tools: fix lxc-execute command parsing
  • Loading branch information
hallyn authored Aug 18, 2018
2 parents 0a4f0d0 + 0044aab commit 59c018f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/tools/lxc_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ static bool set_argv(struct lxc_container *c, struct lxc_arguments *args)
char buf[MAXPATHLEN];
char **components, **p;

buf[0] = '\0';
ret = c->get_config_item(c, "lxc.execute.cmd", buf, MAXPATHLEN);
if (ret < 0)
return false;
Expand Down

0 comments on commit 59c018f

Please sign in to comment.