chiark / gitweb /
drop_duplicates: copy full BindMount struct
[elogind.git] / src / core / transaction.c
index d23a45c3f517b776351ec7c75bdc37ecd4dfaa4b..805d40ae6a13c6004695717d641a8967902f87fc 100644 (file)
@@ -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. */