confile: cleanup lxc_fill_elevated_privileges()

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