Add cast to avoid warning
[metaproxy-moved-to-github.git] / src / metaproxy_prog.cpp
index 5eb24f8..f9815df 100644 (file)
@@ -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