Unverified Commit 4d294a0d by Christian Brauner Committed by Stéphane Graber

confile: allow to retrieve lxc.rebootsignal

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