manager: report correctly which job was deleted when breaking cycle

This commit is contained in:
Michal Schmidt 2010-09-11 02:00:27 +02:00 committed by Lennart Poettering
parent ee0dd8021b
commit 54ec68b6f6

View file

@ -982,7 +982,7 @@ static int transaction_verify_order_one(Manager *m, Job *j, Job *from, unsigned
if (delete) {
log_warning("Breaking ordering cycle by deleting job %s/%s", k->unit->meta.id, job_type_to_string(k->type));
log_warning("Breaking ordering cycle by deleting job %s/%s", delete->unit->meta.id, job_type_to_string(delete->type));
transaction_delete_unit(m, delete->unit);
return -EAGAIN;
}