Unverified Commit 081a481a by Christian Brauner Committed by Stéphane Graber

confile: allow to get lxc.autodev

parent 03571d72
...@@ -2865,6 +2865,8 @@ int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv, ...@@ -2865,6 +2865,8 @@ int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv,
return lxc_get_conf_int(c, retv, inlen, c->rebootsignal); return lxc_get_conf_int(c, retv, inlen, c->rebootsignal);
else if (strcmp(key, "lxc.stopsignal") == 0) else if (strcmp(key, "lxc.stopsignal") == 0)
return lxc_get_conf_int(c, retv, inlen, c->stopsignal); return lxc_get_conf_int(c, retv, inlen, c->stopsignal);
else if (strcmp(key, "lxc.autodev") == 0)
return lxc_get_conf_int(c, retv, inlen, c->autodev);
else return -1; else return -1;
if (!v) if (!v)
......
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