From a0e8cf0b5e10f761c871fc99462e26b209c7f3fd Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 24 Jun 2007 10:17:29 +0000 Subject: [PATCH] Roll a couple of layers off these asserts git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1545 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/mgt_child.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/mgt_child.c b/varnish-cache/bin/varnishd/mgt_child.c index 40690f13..a11e0bef 100644 --- a/varnish-cache/bin/varnishd/mgt_child.c +++ b/varnish-cache/bin/varnishd/mgt_child.c @@ -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 */ -- 2.39.5