Unverified Commit d3400474 by Christian Brauner Committed by Stéphane Graber

confile: allow to retrieve lxc.haltsignal

parent 9e34dbeb
...@@ -2859,6 +2859,8 @@ int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv, ...@@ -2859,6 +2859,8 @@ int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv,
return lxc_get_conf_int(c, retv, inlen, c->ephemeral); return lxc_get_conf_int(c, retv, inlen, c->ephemeral);
else if (strcmp(key, "lxc.id_map") == 0) else if (strcmp(key, "lxc.id_map") == 0)
return lxc_get_idmaps(c, retv, inlen); return lxc_get_idmaps(c, retv, inlen);
else if (strcmp(key, "lxc.haltsignal") == 0)
return lxc_get_conf_int(c, retv, inlen, c->haltsignal);
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