]> err.no Git - varnish/commitdiff
Don't attempt to restart child process (yet).
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Apr 2006 08:16:26 +0000 (08:16 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Apr 2006 08:16:26 +0000 (08:16 +0000)
Add Id Keyword handling

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@123 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_child.c

index 012b5934599b36b0acefd004f9a4d2d2111e2205..0b43170141ea36de7f773eca3828528fdc4e0a6b 100644 (file)
@@ -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;