diff src/master/login-process.c @ 5136:86625faa49b5 HEAD

Start auth processes immediately at startup, not after one second delay. Don't try to start any login processes before at least one auth process has sent back a handshake.
author Timo Sirainen <tss@iki.fi>
date Thu, 15 Feb 2007 15:08:37 +0200
parents 18559c7e3a15
children a977ad033903
line wrap: on
line diff
--- a/src/master/login-process.c	Thu Feb 15 14:12:55 2007 +0200
+++ b/src/master/login-process.c	Thu Feb 15 15:08:37 2007 +0200
@@ -793,6 +793,12 @@
 {
 	struct login_group *group;
 
+	if (!have_initialized_auth_processes) {
+		/* don't create login processes before at least one auth
+		   process has finished initializing */
+		return;
+	}
+
 	if (login_groups == NULL)
 		login_process_groups_create();