From: phk Date: Tue, 22 Jul 2008 08:37:41 +0000 (+0000) Subject: Use exit(4) when we don't want a panic coredump. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c0b1bc195b17a6333fcd7c11060c87cd1d9316;p=varnish Use exit(4) when we don't want a panic coredump. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2986 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_panic.c b/varnish-cache/bin/varnishd/cache_panic.c index 8265b95a..decc017b 100644 --- a/varnish-cache/bin/varnishd/cache_panic.c +++ b/varnish-cache/bin/varnishd/cache_panic.c @@ -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(); }