From f70a210cfaa6d15038f6941e4e82cc003425decd Mon Sep 17 00:00:00 2001 From: Apple Date: Tue, 30 Nov 2010 22:51:04 +0000 Subject: [PATCH] launchd-329.3.3.tar.gz --- launchd/src/launchd_core_logic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/launchd/src/launchd_core_logic.c b/launchd/src/launchd_core_logic.c index 5f6a5b7..6daf059 100644 --- a/launchd/src/launchd_core_logic.c +++ b/launchd/src/launchd_core_logic.c @@ -16,7 +16,7 @@ * @APPLE_APACHE_LICENSE_HEADER_END@ */ -static const char *const __rcs_file_version__ = "$Revision: 24208 $"; +static const char *const __rcs_file_version__ = "$Revision: 24498 $"; #include "config.h" #include "launchd_core_logic.h" @@ -2785,7 +2785,8 @@ job_reap(job_t j) LIST_REMOVE(spi, sle); free(spi); } - + + j->last_exit_status = status; struct waiting_for_exit *w4e = NULL; while( (w4e = LIST_FIRST(&j->exit_watchers)) ) { waiting4exit_delete(j, w4e); @@ -2810,7 +2811,6 @@ job_reap(job_t j) } else if (!j->anonymous && !j->hopefully_exits_last) { j->mgr->normal_active_cnt--; } - j->last_exit_status = status; j->sent_signal_time = 0; j->sent_sigkill = false; j->clean_kill = false; -- 2.45.2