X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fsystemd.git;a=blobdiff_plain;f=src%2Fcore%2Ftransaction.c;h=b8f69ec6f3a5c1639344e976c80c088d3eeba3ea;hp=b505297e238318fb6e07847c649a3304c1c4c87e;hb=ece174c5439021e32ebcc858842de9586072c006;hpb=76ef789d264f9eb7d7624b994aa6eead1dacfac4 diff --git a/src/core/transaction.c b/src/core/transaction.c index b505297e238..b8f69ec6f3a 100644 --- a/src/core/transaction.c +++ b/src/core/transaction.c @@ -380,12 +380,10 @@ 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 && hashmap_get(tr->jobs, k->unit) && - !unit_matters_to_anchor(k->unit, k)) { + 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. */ delete = k; - } /* Check if this in fact was the beginning of * the cycle */