<rdar://problem/5025353> Bug: launchd_core_logic.c:4524 (23087):3: jmi != NULL
--- trunk/launchd/src/launchd_core_logic.c 2007-03-04 03:51:11 UTC (rev 23128)
+++ trunk/launchd/src/launchd_core_logic.c 2007-03-04 17:34:05 UTC (rev 23129)
@@ -4568,6 +4568,10 @@
return;
}
+ if (strcasecmp(j->mgr->name, where) == 0) {
+ return;
+ }
+
SLIST_FOREACH(jmi, &root_jobmgr->submgrs, sle) {
if (strcasecmp(jmi->name, where) == 0) {
break;