]> git.saurik.com Git - apple/launchd.git/blobdiff - launchd/src/launchd_core_logic.c
launchd-258.25.tar.gz
[apple/launchd.git] / launchd / src / launchd_core_logic.c
index 6565b24b495f5cb48e170b263ddad8c1c4aa8643..ec29e12f9f522955fe720cc4e9c1f6390eb0c945 100644 (file)
@@ -16,7 +16,7 @@
  * @APPLE_APACHE_LICENSE_HEADER_END@
  */
 
-static const char *const __rcs_file_version__ = "$Revision: 23792 $";
+static const char *const __rcs_file_version__ = "$Revision: 23923 $";
 
 #include "config.h"
 #include "launchd_core_logic.h"
@@ -2653,6 +2653,8 @@ job_start(job_t j)
                        job_assumes(j, runtime_close(oepair[1]) != -1);
                        j->log_redirect_fd = 0;
                }
+               job_assumes(j, kevent_mod((uintptr_t)j, EVFILT_TIMER, EV_ADD|EV_ONESHOT, NOTE_SECONDS, 1, j) != -1);
+               job_ignore(j);
                break;
        case 0:
                if (_vproc_post_fork_ping()) {