X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fjob.c;h=941f9560258518f493f71c73c896947d1a22ea47;hb=5c56a259e07661a66e806cc2fbc71de96a75f78e;hp=93fa44a506a050ceae598d315c76130cddf46dde;hpb=cb8ccb2271727fc114ca43104d3333ee4635cc79;p=elogind.git diff --git a/src/core/job.c b/src/core/job.c index 93fa44a50..941f95602 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -1051,7 +1051,7 @@ int job_coldplug(Job *j) { assert(j); - if (j->begin_usec <= 0) + if (j->begin_usec == 0 || j->unit->job_timeout == 0) return 0; if (j->timer_event_source)