Commit 0c17bd4f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Roll a couple of layers off these asserts


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1545 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a97122fd
......@@ -181,8 +181,8 @@ start_child(void)
errx(1, "Could not fork child");
if (i == 0) {
if (geteuid() == 0) {
XXXAZ(setgid(params->gid) == -1);
XXXAZ(setuid(params->uid) == -1);
XXXAZ(setgid(params->gid));
XXXAZ(setuid(params->uid));
}
/* Redirect stdin/out/err */
......
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