confile: allow to retrieve lxc.rebootsignal

parent 8beda89e
......@@ -3106,6 +3106,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