Commit 645d05e1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use exit(4) when we don't want a panic coredump.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2986 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a8d62069
...@@ -297,7 +297,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err, ...@@ -297,7 +297,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond, int err,
} }
#endif #endif
if (params->diag_bitmap & 0x1000) if (params->diag_bitmap & 0x1000)
(void)kill(getpid(), SIGUSR1); (void)exit(4);
else else
abort(); abort();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment