projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1439d0b
)
Use _exit in SIGTERM handler, fixes bug #3497.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 21 Jun 2010 12:57:16 +0000
(14:57 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 21 Jun 2010 12:57:16 +0000
(14:57 +0200)
src/metaproxy_prog.cpp
patch
|
blob
|
history
diff --git
a/src/metaproxy_prog.cpp
b/src/metaproxy_prog.cpp
index
5eb24f8
..
f9815df
100644
(file)
--- a/
src/metaproxy_prog.cpp
+++ b/
src/metaproxy_prog.cpp
@@
-52,7
+52,7
@@
static pid_t process_group = 0;
static void sig_term_handler(int s)
{
kill(-process_group, SIGTERM); /* kill all children processes as well */
- exit(0);
+ _exit(0);
}
#endif