Unverified Commit 0b057790 by Christian Brauner Committed by Stéphane Graber

confile: config_cap_drop()

parent c82f4146
...@@ -1725,7 +1725,7 @@ static int config_cap_drop(const char *key, const char *value, ...@@ -1725,7 +1725,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