From f3c0b1bc195b17a6333fcd7c11060c87cd1d9316 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 22 Jul 2008 08:37:41 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_panic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.5