confile: cleanup get_config_proc()

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