Browse code

core: init_child(1) for no-fork mode replaced with init_child(PROC_SIPINIT)

- use the defined proc rank instead if its integer value

Daniel-Constantin Mierla authored on 29/09/2011 08:25:16
Showing 1 changed files
... ...
@@ -1390,7 +1390,7 @@ int main_loop()
1390 1390
 		 * in fact we behave like a child, not like main process
1391 1391
 		 */
1392 1392
 
1393
-		if (init_child(1) < 0) {
1393
+		if (init_child(PROC_SIPINIT) < 0) {
1394 1394
 			LOG(L_ERR, "main_dontfork: init_child failed\n");
1395 1395
 			goto error;
1396 1396
 		}