From 745e6257618c086c067673357a793dc10a3a740b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 21 Jun 2010 14:57:16 +0200 Subject: [PATCH] Use _exit in SIGTERM handler, fixes bug #3497. --- src/metaproxy_prog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4