mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-09 19:10:17 +00:00
confile: config_personality()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
a757cc7d2f
commit
884a45801f
@ -1241,6 +1241,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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user