diff --git a/src/lxc/confile.c b/src/lxc/confile.c index d0854ba04..2a62de615 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1241,6 +1241,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;