From: Adam Dickmeiss Date: Mon, 21 Jun 2010 12:57:16 +0000 (+0200) Subject: Use _exit in SIGTERM handler, fixes bug #3497. X-Git-Tag: v1.1.6~2 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=745e6257618c086c067673357a793dc10a3a740b;p=metaproxy-moved-to-github.git Use _exit in SIGTERM handler, fixes bug #3497. --- diff --git a/src/metaproxy_prog.cpp b/src/metaproxy_prog.cpp index 5eb24f8..f9815df 100644 --- 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