Skip to content

Commit

Permalink
confile: config_personality()
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 1, 2017
1 parent 0133efb commit 78b08ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lxc/confile.c
Expand Up @@ -1157,6 +1157,9 @@ static int config_personality(const char *key, const char *value,
static int config_pts(const char *key, const char *value,
struct lxc_conf *lxc_conf)
{
if (config_value_empty(value))
return 0;

if (lxc_safe_uint(value, &lxc_conf->pts) < 0)
return -1;

Expand Down

0 comments on commit 78b08ba

Please sign in to comment.