Unverified Commit 025baa22 by Christian Brauner Committed by Stéphane Graber

confile: config_environment()

parent 3e663c61
...@@ -1244,7 +1244,7 @@ static int config_environment(const char *key, const char *value, ...@@ -1244,7 +1244,7 @@ static int config_environment(const char *key, const char *value,
{ {
struct lxc_list *list_item = NULL; struct lxc_list *list_item = NULL;
if (!strlen(value)) if (config_value_empty(value))
return lxc_clear_environment(lxc_conf); return lxc_clear_environment(lxc_conf);
list_item = malloc(sizeof(*list_item)); list_item = malloc(sizeof(*list_item));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment