confile: config_cap_keep()

parent 67cbe21a
...@@ -1864,7 +1864,7 @@ static int config_cap_keep(const char *key, const char *value, ...@@ -1864,7 +1864,7 @@ static int config_cap_keep(const char *key, const char *value,
struct lxc_list *keeplist; struct lxc_list *keeplist;
int ret = -1; int ret = -1;
if (!strlen(value)) if (config_value_empty(value))
return lxc_clear_config_keepcaps(lxc_conf); return lxc_clear_config_keepcaps(lxc_conf);
keepcaps = strdup(value); keepcaps = 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