mirror of
https://github.com/neocturne/fastd.git
synced 2025-05-14 04:15:08 +02:00
Use raise(...) instead of kill(getpid(), ...)
This commit is contained in:
parent
b97122c3f2
commit
7fc8897806
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ static inline void terminate(void) {
|
|||
|
||||
pthread_sigmask(SIG_SETMASK, &action.sa_mask, NULL);
|
||||
|
||||
kill(getpid(), sig_terminate);
|
||||
raise(sig_terminate);
|
||||
}
|
||||
|
||||
/** Main function */
|
||||
|
|
Loading…
Add table
Reference in a new issue