<rdar://problem/4822350> coreservicesd does not quit on SIGTERM
--- trunk/launchd/src/launchd_core_logic.c 2006-11-14 22:48:59 UTC (rev 22944)
+++ trunk/launchd/src/launchd_core_logic.c 2006-11-15 18:52:35 UTC (rev 22945)
@@ -532,9 +532,7 @@
if (debug_shutdown_hangs) {
job_assumes(ji, kevent_mod((uintptr_t)ji, EVFILT_TIMER, EV_ADD|EV_ONESHOT, NOTE_SECONDS, 8, ji) != -1);
}
- if (getpid() != 1) {
- job_stop(ji);
- }
+ job_stop(ji);
}
}
}