Skip to content

Commit

Permalink
confile: config_cap_keep()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Aug 15, 2017
1 parent 952847c commit d3bd748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -1523,7 +1523,7 @@ static int config_cap_keep(const char *key, const char *value,
struct lxc_list *keeplist;
int ret = -1;

if (!strlen(value))
if (config_value_empty(value))
return lxc_clear_config_keepcaps(lxc_conf);

keepcaps = strdup(value);
Expand Down

0 comments on commit d3bd748

Please sign in to comment.