[launchd-changes] [23795] trunk/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Feb 10 20:15:23 PST 2009
Revision: 23795
http://trac.macosforge.org/projects/launchd/changeset/23795
Author: dsorresso at apple.com
Date: 2009-02-10 20:15:22 -0800 (Tue, 10 Feb 2009)
Log Message:
-----------
Fixed a small issue that could have become a bug in the future.
Modified Paths:
--------------
trunk/launchd/src/launchd_core_logic.c
Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c 2009-02-11 01:24:50 UTC (rev 23794)
+++ trunk/launchd/src/launchd_core_logic.c 2009-02-11 04:15:22 UTC (rev 23795)
@@ -7896,11 +7896,7 @@
LIST_INSERT_HEAD(&jmr->jobs, j, sle);
LIST_INSERT_HEAD(&jmr->active_jobs[ACTIVE_JOB_HASH(j->p)], j, pid_hash_sle);
- if( job_assumes(j, kr == KERN_SUCCESS) ) {
- job_set_global_on_demand(j, true);
- } else {
- job_log(j, LOG_WARNING, "Can't set global on-demand mode, unable to preemptively switch to %s job manager.", jmr->name);
- }
+ job_set_global_on_demand(j, true);
}
for (l2l_i = 0; l2l_i < l2l_port_cnt; l2l_i++) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090210/94b281c1/attachment.html>
More information about the launchd-changes
mailing list