From: Christian Brauner Date: Mon, 29 May 2017 12:53:58 +0000 (+0200) Subject: confile: config_start() X-Git-Tag: lxc-2.1.0~110^2~150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61ff8fc85b66d37fa80a68a45d2473605d093160;p=thirdparty%2Flxc.git confile: config_start() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 2a62de615..73e88d1e4 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1253,6 +1253,9 @@ static int config_pts(const char *key, const char *value, static int config_start(const char *key, const char *value, struct lxc_conf *lxc_conf) { + if (config_value_empty(value)) + return 0; + if(strcmp(key, "lxc.start.auto") == 0) { if (lxc_safe_uint(value, &lxc_conf->start_auto) < 0) return -1;