daemon: Really allow downgrades when pulling a rebase diff

Closes: #563
Approved by: jlebon
This commit is contained in:
petervo 2017-01-09 14:46:58 -08:00 committed by Atomic Bot
parent e71e7219d3
commit 4fc3589dc0

View File

@ -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);