Mailing List Archive

r1545 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2007-06-24 12:17:29 +0200 (Sun, 24 Jun 2007)
New Revision: 1545

Modified:
trunk/varnish-cache/bin/varnishd/mgt_child.c
Log:
Roll a couple of layers off these asserts


Modified: trunk/varnish-cache/bin/varnishd/mgt_child.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_child.c 2007-06-24 10:17:03 UTC (rev 1544)
+++ trunk/varnish-cache/bin/varnishd/mgt_child.c 2007-06-24 10:17:29 UTC (rev 1545)
@@ -181,8 +181,8 @@
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 */