Commit 56191985 by Stéphane Graber

Init error_num to 1

parent 126ab9ff
......@@ -553,6 +553,10 @@ static bool lxcapi_start(struct lxc_container *c, int useinit, char * const argv
/* container exists */
if (!c)
return false;
/* If anything fails before we set error_num, we want an error in there */
c->error_num = 1;
/* container has been setup */
if (!c->lxc_conf)
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