confile: get_config_prlimit()

parent 010d7deb
...@@ -4305,7 +4305,7 @@ static int get_config_prlimit(const char *key, char *retv, int inlen, ...@@ -4305,7 +4305,7 @@ static int get_config_prlimit(const char *key, char *retv, int inlen,
else if (strncmp(key, "lxc.prlimit.", 12) == 0) else if (strncmp(key, "lxc.prlimit.", 12) == 0)
key += 12; key += 12;
else else
return -1; return ret_errno(EINVAL);
lxc_list_for_each(it, &c->limits) { lxc_list_for_each(it, &c->limits) {
/* 2 colon separated 64 bit integers or the word 'unlimited' */ /* 2 colon separated 64 bit integers or the word 'unlimited' */
......
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