diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 359fcbba4..113ecfc27 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1421,7 +1421,7 @@ static int config_loglevel(const char *key, const char *value, { int newlevel; - if (!value || strlen(value) == 0) + if (config_value_empty(value)) return 0; if (value[0] >= '0' && value[0] <= '9') {