From 5273510e9f228a300ec6207d4502f1c6253aed5e Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Tue, 24 Apr 2012 11:21:03 +0200 Subject: 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 --- src/core/dbus-job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/dbus-job.c') 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[] = { -- cgit v1.2.3-54-g00ecf