Unverified Commit 78b08ba8 by Christian Brauner Committed by Stéphane Graber

confile: config_personality()

parent 0133efba
...@@ -1157,6 +1157,9 @@ static int config_personality(const char *key, const char *value, ...@@ -1157,6 +1157,9 @@ static int config_personality(const char *key, const char *value,
static int config_pts(const char *key, const char *value, static int config_pts(const char *key, const char *value,
struct lxc_conf *lxc_conf) struct lxc_conf *lxc_conf)
{ {
if (config_value_empty(value))
return 0;
if (lxc_safe_uint(value, &lxc_conf->pts) < 0) if (lxc_safe_uint(value, &lxc_conf->pts) < 0)
return -1; return -1;
......
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