Unverified Commit 4396f360 by Christian Brauner Committed by Stéphane Graber

confile: config_hook()

parent 5a13de15
...@@ -1100,7 +1100,7 @@ static int config_hook(const char *key, const char *value, ...@@ -1100,7 +1100,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);
if (strcmp(key, "lxc.hook") == 0) { if (strcmp(key, "lxc.hook") == 0) {
......
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