Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
PackageKit.10948
PackageKit-return-on-transactions-going-backwar...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PackageKit-return-on-transactions-going-backwards.patch of Package PackageKit.10948
From d1b76c05ebb4c5643bcf0072f271bcd958812560 Mon Sep 17 00:00:00 2001 From: Jonathan Kang <jonathankang@gnome.org> Date: Fri, 21 Dec 2018 16:17:34 +0800 Subject: [PATCH] =?UTF-8?q?transaction:=20Return=20directly=20when=20its?= =?UTF-8?q?=C2=A0state=20is=20going=20backwards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should return directly while failing to set transaction’s state because it’s going backwards. That’s exactly what Pk did previously. Fixes 2807cbf8 --- src/pk-transaction.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pk-transaction.c b/src/pk-transaction.c index 76e99655f..d14ea7d9c 100644 --- a/src/pk-transaction.c +++ b/src/pk-transaction.c @@ -760,6 +760,7 @@ pk_transaction_set_state (PkTransaction *transaction, PkTransactionState state) g_warning ("cannot set %s, as already %s", pk_transaction_state_to_string (state), pk_transaction_state_to_string (priv->state)); + return; } g_debug ("transaction now %s", pk_transaction_state_to_string (state)); -- 2.20.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor