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

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 7 09:44:29 PST 2007


Revision: 23142
          http://trac.macosforge.org/projects/launchd/changeset/23142
Author:   zarzycki at apple.com
Date:     2007-03-07 09:44:28 -0800 (Wed, 07 Mar 2007)

Log Message:
-----------
Dead code deletion.

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

Modified: trunk/launchd/src/launchctl.c
===================================================================
--- trunk/launchd/src/launchctl.c	2007-03-07 00:54:30 UTC (rev 23141)
+++ trunk/launchd/src/launchctl.c	2007-03-07 17:44:28 UTC (rev 23142)
@@ -1355,11 +1355,9 @@
 
 	_vproc_set_global_on_demand(false);
 
-	if (!path_check("/System/Library/LoginPlugins/BootCache.loginPlugin")) {
-		assumes(kevent(kq, NULL, 0, &kev, 1, NULL) == 1);
+	assumes(kevent(kq, NULL, 0, &kev, 1, NULL) == 1);
 
-		do_BootCache_magic(BOOTCACHE_STOP);
-	}
+	do_BootCache_magic(BOOTCACHE_STOP);
 
 	assumes(close(kq) != -1);
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070307/2610dbe9/attachment.html


More information about the launchd-changes mailing list