Unverified Commit b1b1a02d by Christian Brauner Committed by Stéphane Graber

confile: config_cap_drop()

parent d3bd7483
...@@ -1569,7 +1569,7 @@ static int config_cap_drop(const char *key, const char *value, ...@@ -1569,7 +1569,7 @@ static int config_cap_drop(const char *key, const char *value,
struct lxc_list *droplist; struct lxc_list *droplist;
int ret = -1; int ret = -1;
if (!strlen(value)) if (config_value_empty(value))
return lxc_clear_config_caps(lxc_conf); return lxc_clear_config_caps(lxc_conf);
dropcaps = strdup(value); dropcaps = strdup(value);
......
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