Revision
23607
Author
zarzycki@apple.com
Date
2008-04-28 13:40:36 -0700 (Mon, 28 Apr 2008)

Log Message

<rdar://problem/5884914> HideUntilCheckIn does not wait for bootstrap_check_in()

Modified Paths

Diff

Modified: branches/SULeopard/launchd/src/launchd_core_logic.c (23606 => 23607)


--- branches/SULeopard/launchd/src/launchd_core_logic.c	2008-04-22 20:42:06 UTC (rev 23606)
+++ branches/SULeopard/launchd/src/launchd_core_logic.c	2008-04-28 20:40:36 UTC (rev 23607)
@@ -5942,7 +5942,7 @@
 		ms = jobmgr_lookup_service(j->mgr, servicename, true, 0);
 	}
 
-	if (ms && machservice_hidden(ms) && !job_active(machservice_job(ms))) {
+	if (ms && machservice_hidden(ms) && !machservice_active(ms)) {
 		ms = NULL;
 	} else if (ms && ms->per_user_hack) {
 		ms = NULL;