confile: cleanup set_config_hooks()

parent 6e8b98aa
...@@ -1133,7 +1133,7 @@ static int set_config_hooks(const char *key, const char *value, ...@@ -1133,7 +1133,7 @@ static int set_config_hooks(const char *key, const char *value,
else if (strcmp(key + 9, "destroy") == 0) else if (strcmp(key + 9, "destroy") == 0)
return add_hook(lxc_conf, LXCHOOK_DESTROY, move_ptr(copy)); return add_hook(lxc_conf, LXCHOOK_DESTROY, move_ptr(copy));
return -1; return ret_errno(EINVAL);
} }
static int set_config_hooks_version(const char *key, const char *value, static int set_config_hooks_version(const char *key, const char *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