[launchd-changes] [23169] trunk/launchd/src/launchd_runtime.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Mar 22 09:26:30 PDT 2007
Revision: 23169
http://trac.macosforge.org/projects/launchd/changeset/23169
Author: zarzycki at apple.com
Date: 2007-03-22 09:26:30 -0700 (Thu, 22 Mar 2007)
Log Message:
-----------
Workaround for syslogd crashing.
Modified Paths:
--------------
trunk/launchd/src/launchd_runtime.c
Modified: trunk/launchd/src/launchd_runtime.c
===================================================================
--- trunk/launchd/src/launchd_runtime.c 2007-03-22 16:18:32 UTC (rev 23168)
+++ trunk/launchd/src/launchd_runtime.c 2007-03-22 16:26:30 UTC (rev 23169)
@@ -971,7 +971,8 @@
size_t i, j;
if (!(debug_shutdown_hangs && getpid() == 1)) {
- return vsyslog(priority, message, args);
+ vsyslog(priority, message, args);
+ return closelog();
}
if (shutdown_start.tv_sec == 0) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070322/1dbe5a84/attachment.html
More information about the launchd-changes
mailing list