From a2a2ff325fed463c1663872a6514e765bc8d2876 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 26 Nov 2019 13:00:36 -0700 Subject: [PATCH] Have terminate_processing() raise SIGTERM instead of calling the signal handler directly --- src/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cc b/src/util.cc index 8a693d3fc2..36d346a882 100644 --- a/src/util.cc +++ b/src/util.cc @@ -1838,7 +1838,7 @@ RETSIGTYPE sig_handler(int signo); void terminate_processing() { if ( ! terminating ) - sig_handler(SIGTERM); + raise(SIGTERM); } extern const char* proc_status_file;