mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-30 22:50:30 +00:00
confile: config_monitor()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
61ff8fc85b
commit
d0524eea72
@ -1280,6 +1280,9 @@ static int config_start(const char *key, const char *value,
|
||||
static int config_monitor(const char *key, const char *value,
|
||||
struct lxc_conf *lxc_conf)
|
||||
{
|
||||
if (config_value_empty(value))
|
||||
return 0;
|
||||
|
||||
if(strcmp(key, "lxc.monitor.unshare") == 0) {
|
||||
if (lxc_safe_uint(value, &lxc_conf->monitor_unshare) < 0)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user