confile: allow to get lxc.kmsg

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