Modified: trunk/launchd/src/launchd_core_logic.c (23382 => 23383)
--- trunk/launchd/src/launchd_core_logic.c 2007-09-13 22:42:46 UTC (rev 23382)
+++ trunk/launchd/src/launchd_core_logic.c 2007-09-13 23:43:46 UTC (rev 23383)
@@ -2341,7 +2341,7 @@
td = (tnow - j->start_time) * tbi.numer / tbi.denom;
td /= NSEC_PER_SEC;
- if (td < j->min_run_time && !j->legacy_mach_job && !j->inetcompat) {
+ if (j->start_time && (td < j->min_run_time) && !j->legacy_mach_job && !j->inetcompat) {
time_t respawn_delta = j->min_run_time - td;
/*