Projects
Browse Source     Search     Timeline     Wiki

Changeset 23529

Show
Ignore:
Timestamp:
2008-03-04 09:48:58 (6 months ago)
Author:
zarzycki@…
Message:

<rdar://problem/5759898> HopefullyExitsFirst jobs can't start OnDemand jobs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/launchd_core_logic.c

    r23526 r23529  
    40044004                job_log(j, LOG_DEBUG, "Exited while removal was pending."); 
    40054005                return true; 
    4006         } else if (j->mgr->shutting_down) { 
     4006        } else if (j->mgr->shutting_down && j->mgr->hopefully_first_cnt == 0) { 
    40074007                job_log(j, LOG_DEBUG, "Exited while shutdown in progress. Processes remaining: %lu/%lu", total_children, total_anon_children); 
    40084008                return true;