From d0524eea72006dcbc285cf9d2c6f2b96d4bf9c1f Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 29 May 2017 14:54:23 +0200 Subject: [PATCH] confile: config_monitor() Signed-off-by: Christian Brauner --- src/lxc/confile.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 73e88d1e4..dd35ba612 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -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;