From: Arran Cudbard-Bell Date: Wed, 8 Jun 2016 14:37:52 +0000 (-0400) Subject: Raise a signal if there's no panic action X-Git-Tag: release_3_0_12~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6e4fd5677d53b7811bf7fe928e85ca0688232c4;p=thirdparty%2Ffreeradius-server.git Raise a signal if there's no panic action --- diff --git a/src/lib/debug.c b/src/lib/debug.c index 797b4b6e69d..151b4f664ab 100644 --- a/src/lib/debug.c +++ b/src/lib/debug.c @@ -737,12 +737,14 @@ NEVER_RETURNS void fr_fault(int sig) fr_exit_now(1); } } + + fr_exit_now(1); } FR_FAULT_LOG("Panic action exited with %i", code); finish: - fr_exit_now(1); + raise(sig); } /** Callback executed on fatal talloc error