Last change for now with respect to: <rdar://problem/5783944> Deprecate bootstrap_create_service() in favor of bootstrap_check_in()
--- trunk/launchd/src/launchd_core_logic.c 2008-03-06 19:00:19 UTC (rev 23539)
+++ trunk/launchd/src/launchd_core_logic.c 2008-03-06 22:15:46 UTC (rev 23540)
@@ -5928,7 +5928,7 @@
return BOOTSTRAP_NO_MEMORY;
}
- ms->delete_on_destruction = true; /* parity with bootstrap_register() */
+ ms->delete_on_destruction = !j->legacy_mach_job;
job_checkin(j);
if (!(j->anonymous || j->legacy_LS_job || j->legacy_mach_job)) {