From 4fc3589dc0cf29d78b5a28e16950a038f8a55a06 Mon Sep 17 00:00:00 2001 From: petervo Date: Mon, 9 Jan 2017 14:46:58 -0800 Subject: [PATCH] daemon: Really allow downgrades when pulling a rebase diff Closes: #563 Approved by: jlebon --- src/daemon/rpmostreed-transaction-types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/rpmostreed-transaction-types.c b/src/daemon/rpmostreed-transaction-types.c index b2d03e32..966d56b4 100644 --- a/src/daemon/rpmostreed-transaction-types.c +++ b/src/daemon/rpmostreed-transaction-types.c @@ -198,7 +198,7 @@ package_diff_transaction_execute (RpmostreedTransaction *transaction, self = (PackageDiffTransaction *) transaction; - if (self->revision != NULL || self->refspec == NULL) + if (self->revision != NULL || self->refspec != NULL) upgrader_flags |= RPMOSTREE_SYSROOT_UPGRADER_FLAGS_ALLOW_OLDER; sysroot = rpmostreed_transaction_get_sysroot (transaction);