Browse Source

imc: keep db handle open for main process

- the module sync's back to database at shutdown
- dicovered based on an email by Ozren Lapcevic
Daniel-Constantin Mierla 14 years ago
parent
commit
3402cfd846
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules_k/imc/imc.c

+ 1 - 1
modules_k/imc/imc.c

@@ -437,7 +437,7 @@ static int mod_init(void)
  */
 static int child_init(int rank)
 {	
-	if (rank==PROC_INIT || rank==PROC_MAIN || rank==PROC_TCP_MAIN)
+	if (rank==PROC_INIT || rank==PROC_TCP_MAIN)
 		return 0; /* do nothing for the main process */
 
 	if (imc_dbf.init==0)