Unverified Commit 6a270659 by Christian Brauner Committed by Stéphane Graber

confile: config_start()

parent b1b1a02d
...@@ -1075,6 +1075,9 @@ static int config_pts(const char *key, const char *value, ...@@ -1075,6 +1075,9 @@ static int config_pts(const char *key, const char *value,
static int config_start(const char *key, const char *value, static int config_start(const char *key, const char *value,
struct lxc_conf *lxc_conf) struct lxc_conf *lxc_conf)
{ {
if (config_value_empty(value))
return 0;
if(strcmp(key, "lxc.start.auto") == 0) { if(strcmp(key, "lxc.start.auto") == 0) {
lxc_conf->start_auto = atoi(value); lxc_conf->start_auto = atoi(value);
return 0; return 0;
......
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