confile: cleanup set_config_hooks()

parent 8a0e2272
......@@ -1214,7 +1214,7 @@ static int set_config_hooks(const char *key, const char *value,
else if (strcmp(key + 9, "destroy") == 0)
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,
......
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