[Initng-svn] r4061 - initng/trunk/src

svn at initng.thinktux.net svn at initng.thinktux.net
Mon May 8 11:37:12 CEST 2006


Author: jimmy
Date: Mon May  8 11:37:11 2006
New Revision: 4061

Modified:
   initng/trunk/src/initng_depend.c

Log:
Cleanup and commenting.


Modified: initng/trunk/src/initng_depend.c
==============================================================================
--- initng/trunk/src/initng_depend.c	(original)
+++ initng/trunk/src/initng_depend.c	Mon May  8 11:37:11 2006
@@ -420,6 +420,7 @@
 						  "WAITING_FOR_START_DEP"))
 				continue;
 
+#ifdef DEBUG
 			/* else RETURN */
 			if (verbose)
 				D_("still waiting for service %s state %s\n", currentA->name,
@@ -427,10 +428,13 @@
 			else
 				D_("still waiting for service %s state %s\n", currentA->name,
 				   currentA->current_state->state_name);
+#endif
 
+			/* if its still marked as UP and not stopping, tell the service AGAIN nice to stop */
 			if (IS_UP(currentA))
 				initng_handler_stop_service(currentA);
 
+			/* no, the dependency are not met YET */
 			return (FALSE);
 		}
 		service->depend_cache++;


More information about the Initng-svn mailing list