Skip to content

Commit

Permalink
confile: cleanup set_config_pty_max()
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 15, 2020
1 parent 14cccbe commit 1e0665e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -1185,7 +1185,7 @@ static int set_config_pty_max(const char *key, const char *value,

ret = lxc_safe_uint(value, &max);
if (ret < 0)
return -1;
return ret_errno(EINVAL);

lxc_conf->pty_max = max;

Expand Down

0 comments on commit 1e0665e

Please sign in to comment.