mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Have terminate_processing() raise SIGTERM instead of calling the signal handler directly
This commit is contained in:
parent
4751783d56
commit
a2a2ff325f
1 changed files with 1 additions and 1 deletions
|
@ -1838,7 +1838,7 @@ RETSIGTYPE sig_handler(int signo);
|
||||||
void terminate_processing()
|
void terminate_processing()
|
||||||
{
|
{
|
||||||
if ( ! terminating )
|
if ( ! terminating )
|
||||||
sig_handler(SIGTERM);
|
raise(SIGTERM);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern const char* proc_status_file;
|
extern const char* proc_status_file;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue