Commits

Andy Green authored 217dfe7c6b6
drop_privs: ignore if uid or gid is zero 0 is the natural default for the info struct. If you are not 0 (root) then you can't change to root, it will fail without having done anything. What the user probably wanted is just leave it as the uid/gid it was started as. If you are 0 (root) you are already at 0 and the change has no meaning. Net effect is get rid of two warning logs if you left it at 0 in the info struct and start as non-root.