Unverified Commit 6297815a by Christian Brauner Committed by Stéphane Graber

confile: config_hook()

parent dfe2145c
...@@ -1022,7 +1022,7 @@ static int config_hook(const char *key, const char *value, ...@@ -1022,7 +1022,7 @@ static int config_hook(const char *key, const char *value,
{ {
char *copy; char *copy;
if (!value || strlen(value) == 0) if (config_value_empty(value))
return lxc_clear_hooks(lxc_conf, key); return lxc_clear_hooks(lxc_conf, key);
copy = strdup(value); copy = 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