confile: allow to retrieve lxc.haltsignal

parent 0df888ba
...@@ -3104,6 +3104,8 @@ int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv, ...@@ -3104,6 +3104,8 @@ int lxc_get_config_item(struct lxc_conf *c, const char *key, char *retv,
return lxc_get_limit_entry(c, retv, inlen, key + 10); return lxc_get_limit_entry(c, retv, inlen, key + 10);
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