Revision
23296
Author
zarzycki@apple.com
Date
2007-07-06 09:44:54 -0700 (Fri, 06 Jul 2007)

Log Message

Let's force flush the debug logs.

Modified Paths

Diff

Modified: trunk/launchd/src/launchd_core_logic.c (23295 => 23296)


--- trunk/launchd/src/launchd_core_logic.c	2007-07-03 21:49:43 UTC (rev 23295)
+++ trunk/launchd/src/launchd_core_logic.c	2007-07-06 16:44:54 UTC (rev 23296)
@@ -2179,6 +2179,7 @@
 			calendarinterval_callback();
 		} else {
 			jobmgr_log(jm, LOG_NOTICE, "Still alive with %u children.", total_children);
+			runtime_closelog(); /* hack to flush logs */
 		}
 		break;
 	default: