From: phk Date: Thu, 6 Apr 2006 08:16:26 +0000 (+0000) Subject: Don't attempt to restart child process (yet). X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4e06ded865f6d508fe69b9ed111db6c20d7de5;p=varnish Don't attempt to restart child process (yet). Add Id Keyword handling git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@123 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_child.c b/varnish-cache/bin/varnishd/mgt_child.c index 012b5934..0b431701 100644 --- a/varnish-cache/bin/varnishd/mgt_child.c +++ b/varnish-cache/bin/varnishd/mgt_child.c @@ -290,6 +290,9 @@ mgt_sigchld(int a, short b, void *c) printf("pid = %d status = 0x%x\n", p, status); assert(p == child_pid); + printf("Child died :-(\n"); + exit (0); + bufferevent_free(child_std); /* XXX: is this enough ? */ child_std = NULL;