X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;h=805d40ae6a13c6004695717d641a8967902f87fc;hb=ae06ab1014641feb83ffd0d08f0957e69bbbae08;hp=d23a45c3f517b776351ec7c75bdc37ecd4dfaa4b;hpb=04ef5b03f64d3824a51a2a903548af029a006744;p=elogind.git diff --git a/src/core/transaction.c b/src/core/transaction.c index d23a45c3f..805d40ae6 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -381,7 +381,7 @@ static int transaction_verify_order_one(Transaction *tr, Job *j, Job *from, unsi "Found dependency on %s/%s", k->unit->id, job_type_to_string(k->type)); - if (!delete && + if (!delete && hashmap_get(tr->jobs, k->unit) && !unit_matters_to_anchor(k->unit, k)) { /* Ok, we can drop this one, so let's * do so. */