summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-04-24 11:21:03 +0200
committerMichal Schmidt <mschmidt@redhat.com>2012-04-23 08:13:02 +0200
commit5273510e9f228a300ec6207d4502f1c6253aed5e (patch)
tree4900160e4f48db419d8346424da1a0b7b09a777a /src/core/job.h
parent39a18c60d07319ebfcfd476556729c2cadd616d6 (diff)
transaction: cancel jobs non-recursively on isolate
Recursive cancellation of jobs would trigger OnFailure actions of dependent jobs. This is not desirable when isolating. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=798328
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 9da7e84a79..2b679735fc 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -196,7 +196,7 @@ int job_start_timer(Job *j);
void job_timer_event(Job *j, uint64_t n_elapsed, Watch *w);
int job_run_and_invalidate(Job *j);
-int job_finish_and_invalidate(Job *j, JobResult result);
+int job_finish_and_invalidate(Job *j, JobResult result, bool recursive);
char *job_dbus_path(Job *j);