diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-04-24 11:21:03 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-04-23 08:13:02 +0200 |
commit | 5273510e9f228a300ec6207d4502f1c6253aed5e (patch) | |
tree | 4900160e4f48db419d8346424da1a0b7b09a777a /src/core/dbus-job.c | |
parent | 39a18c60d07319ebfcfd476556729c2cadd616d6 (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/dbus-job.c')
-rw-r--r-- | src/core/dbus-job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-job.c b/src/core/dbus-job.c index 4b20d495eb..446f809bff 100644 --- a/src/core/dbus-job.c +++ b/src/core/dbus-job.c @@ -100,7 +100,7 @@ static DBusHandlerResult bus_job_message_dispatch(Job *j, DBusConnection *connec if (!(reply = dbus_message_new_method_return(message))) goto oom; - job_finish_and_invalidate(j, JOB_CANCELED); + job_finish_and_invalidate(j, JOB_CANCELED, true); } else { const BusBoundProperties bps[] = { |