<rdar://problem/5884914> HideUntilCheckIn does not wait for bootstrap_check_in()
--- trunk/launchd/src/launchd_core_logic.c 2008-04-28 20:40:36 UTC (rev 23607)
+++ trunk/launchd/src/launchd_core_logic.c 2008-04-28 20:45:11 UTC (rev 23608)
@@ -6374,7 +6374,7 @@
}
if (likely(ms)) {
- if (machservice_hidden(ms) && !job_active(machservice_job(ms))) {
+ if (machservice_hidden(ms) && !machservice_active(ms)) {
ms = NULL;
} else if (unlikely(ms->per_user_hack)) {
ms = NULL;