diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-20 20:51:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-20 20:51:58 +0100 |
commit | 9ea024f6b5a9626ddabeb4c4d4385481b52d211e (patch) | |
tree | f5e596340e3dfbb309405566eecd62bfb1033f01 /manager.c | |
parent | 302d0040d2571329b91dd531b670171064ec8302 (diff) |
add test for garbage collector
Diffstat (limited to 'manager.c')
-rw-r--r-- | manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -315,6 +315,8 @@ static void transaction_collect_garbage(Manager *m) { if (j->object_list) continue; + log_debug("Garbage collecting job %s", name_id(j->name)); + transaction_delete_job(m, j); again = true; break; @@ -504,7 +506,7 @@ void manager_transaction_unlink_job(Manager *m, Job *j) { job_dependency_free(j->object_list); if (other) { - log_debug("Deleting job %s dependency of job %s", name_id(other->name), name_id(j->name)); + log_debug("Deleting job %s as dependency of job %s", name_id(other->name), name_id(j->name)); transaction_delete_job(m, other); } } |