Skip to content

Commit

Permalink
confile: allow to retrieve lxc.rebootsignal
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Jul 14, 2017
1 parent d340047 commit 4d294a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lxc/confile.c
Expand Up @@ -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)
Expand Down

0 comments on commit 4d294a0

Please sign in to comment.