Revision
23608
Author
zarzycki@apple.com
Date
2008-04-28 13:45:11 -0700 (Mon, 28 Apr 2008)

Log Message

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

Modified Paths

Diff

Modified: trunk/launchd/src/launchd_core_logic.c (23607 => 23608)


--- 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;