Modified: branches/SULeopard/launchd/src/launchd_core_logic.c (23574 => 23575)
--- branches/SULeopard/launchd/src/launchd_core_logic.c 2008-03-27 21:18:33 UTC (rev 23574)
+++ branches/SULeopard/launchd/src/launchd_core_logic.c 2008-03-27 21:40:32 UTC (rev 23575)
@@ -3916,7 +3916,7 @@
* We definitely need to revisit this after Leopard ships. Please see
* launchctl.c for the other half of this hack.
*/
- if (j->mgr->global_on_demand_cnt > 0 && strcmp(j->label, "com.apple.kextd") != 0) {
+ if ((j->mgr->shutting_down || j->mgr->global_on_demand_cnt > 0) && strcmp(j->label, "com.apple.kextd") != 0) {
return false;
}