Skip to content

Commit

Permalink
confile: get_config_prlimit()
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 committed Dec 8, 2020
1 parent 010d7de commit 4c12267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -4305,7 +4305,7 @@ static int get_config_prlimit(const char *key, char *retv, int inlen,
else if (strncmp(key, "lxc.prlimit.", 12) == 0)
key += 12;
else
return -1;
return ret_errno(EINVAL);

lxc_list_for_each(it, &c->limits) {
/* 2 colon separated 64 bit integers or the word 'unlimited' */
Expand Down

0 comments on commit 4c12267

Please sign in to comment.