[launchd-changes] [23159] trunk/launchd/src/launchctl.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 20 09:36:51 PDT 2007


Revision: 23159
          http://trac.macosforge.org/projects/launchd/changeset/23159
Author:   zarzycki at apple.com
Date:     2007-03-20 09:36:51 -0700 (Tue, 20 Mar 2007)

Log Message:
-----------
<rdar://problem/5067011> 9A392: Bug reported by launchctl when Safe booted

Modified Paths:
--------------
    trunk/launchd/src/launchctl.c

Modified: trunk/launchd/src/launchctl.c
===================================================================
--- trunk/launchd/src/launchctl.c	2007-03-20 16:07:47 UTC (rev 23158)
+++ trunk/launchd/src/launchctl.c	2007-03-20 16:36:51 UTC (rev 23159)
@@ -1411,6 +1411,10 @@
 {
 	const char *bcc_tool[] = { "BootCacheControl", "-f", "/var/db/BootCache.playlist", NULL, NULL };
 
+	if (is_safeboot()) {
+		return;
+	}
+
 	switch (what) {
 	case BOOTCACHE_START:
 		bcc_tool[3] = "start";

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070320/8ad0038b/attachment.html


More information about the launchd-changes mailing list