confile: cleanup lxc_fill_elevated_privileges()

parent d1063300
......@@ -2857,7 +2857,7 @@ int lxc_fill_elevated_privileges(char *flaglist, int *flags)
aflag = all_privs[i].flag;
if (aflag < 0)
return -1;
return ret_errno(EINVAL);
*flags |= aflag;
}
......
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