When we converted a restart job it's time to look again whether any of
its dependencies are now runnable.
https://bugzilla.redhat.com/show_bug.cgi?id=735013
j->type = JOB_START;
job_add_to_run_queue(j);
j->type = JOB_START;
job_add_to_run_queue(j);
+
+ u = j->unit;
+ goto finish;
unit_trigger_on_failure(u);
}
unit_trigger_on_failure(u);
}
/* Try to start the next jobs that can be started */
SET_FOREACH(other, u->meta.dependencies[UNIT_AFTER], i)
if (other->meta.job)
/* Try to start the next jobs that can be started */
SET_FOREACH(other, u->meta.dependencies[UNIT_AFTER], i)
if (other->meta.job)