]> err.no Git - varnish/commitdiff
Use exit(4) when we don't want a panic coredump.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 22 Jul 2008 08:37:41 +0000 (08:37 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 22 Jul 2008 08:37:41 +0000 (08:37 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2986 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_panic.c

index 8265b95a3579a931dec9081b5556e34397988ef4..decc017b2b2b3ce763e7e1b79c1b1afe6a8ed448 100644 (file)
@@ -297,7 +297,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err,
        }
 #endif
        if (params->diag_bitmap & 0x1000)
-               (void)kill(getpid(), SIGUSR1);
+               (void)exit(4);
        else
                abort();
 }