confile: cleanup get_config_proc()

parent 4b1ef6aa
......@@ -4396,7 +4396,7 @@ static int get_config_proc(const char *key, char *retv, int inlen,
else if (strncmp(key, "lxc.proc.", STRLITERALLEN("lxc.proc.")) == 0)
key += STRLITERALLEN("lxc.proc.");
else
return -1;
return ret_errno(EINVAL);
lxc_list_for_each(it, &c->procs) {
struct lxc_proc *proc = it->elem;
......
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