Browse code

mi_xmlrpc: use PROC_NOCHLDINIT to fork process instead of 100

- do not run modules' child init, MI commands register own proc init
funtion

Daniel-Constantin Mierla authored on 11/05/2009 08:29:56
Showing 1 changed files
... ...
@@ -141,7 +141,7 @@ static int child_init(int rank)
141 141
 {
142 142
 	int pid;
143 143
 	if (rank==PROC_MAIN) {
144
-		pid=fork_process(100, "MI XMLRPC", 1);
144
+		pid=fork_process(PROC_NOCHLDINIT, "MI XMLRPC", 1);
145 145
 		if (pid<0)
146 146
 			return -1; /* error */
147 147
 		if(pid==0){