X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;h=a2efcbcff4a03ea939fa8487f2c3e957ff93dda8;hb=33e48d472e4e8e123be7bce5a0962cab7eaaa508;hp=c3e1e1329698efa4dfc0ff74d5b290259b8e7a88;hpb=d6a093d098054b6fe866441251ad9485c9e31584;p=elogind.git diff --git a/src/core/transaction.c b/src/core/transaction.c index c3e1e1329..a2efcbcff 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -866,7 +866,7 @@ int transaction_add_job_and_dependencies( } /* Finally, recursively add in all dependencies. */ - if (type == JOB_START || type == JOB_RELOAD_OR_START) { + if (type == JOB_START || type == JOB_RELOAD_OR_START || type == JOB_RESTART) { SET_FOREACH(dep, ret->unit->dependencies[UNIT_REQUIRES], i) { r = transaction_add_job_and_dependencies(tr, JOB_START, dep, ret, true, override, false, false, ignore_order, e); if (r < 0) {