]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Raise a signal if there's no panic action
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 8 Jun 2016 14:37:52 +0000 (10:37 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 8 Jun 2016 15:05:24 +0000 (11:05 -0400)
src/lib/debug.c

index 797b4b6e69da035c467065fc3ba62fc79b3337e5..151b4f664ab1ec96378db0f6d6b18bd6b8f4eea6 100644 (file)
@@ -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