Have terminate_processing() raise SIGTERM instead of calling the signal handler directly

This commit is contained in:
Tim Wojtulewicz 2019-11-26 13:00:36 -07:00
parent 4751783d56
commit a2a2ff325f

View file

@ -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;