diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-09-15 08:08:12 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-09-15 08:08:12 +0200 |
commit | 7fc8897806da013d6e4e1cfc4dcb4009a80082ec (patch) | |
tree | 96250738fe025bc7b53aeb33af8fa0f5b7b25526 /src | |
parent | b97122c3f2450d35f4aab0ecb9b9aa5941bf9bec (diff) | |
download | fastd-7fc8897806da013d6e4e1cfc4dcb4009a80082ec.tar fastd-7fc8897806da013d6e4e1cfc4dcb4009a80082ec.zip |
Use raise(...) instead of kill(getpid(), ...)
Diffstat (limited to 'src')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index 1c4a00f..93df249 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -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 */ |