chiark / gitweb /
core: fix check for transaction destructiveness
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 26 Nov 2014 15:33:46 +0000 (16:33 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 26 Nov 2014 15:33:46 +0000 (16:33 +0100)
commite0312f4db08c7100bd00299614e87bedc759b366
treec963d55fba0dbeab64a4c358bc23a5d45f214380
parent61da906a744594002c2c967ecf6ec7899c7a9397
core: fix check for transaction destructiveness

When checking if the transaction is destructive, we need to check if the
previously installed job is a superset of the new job (and hence the new
job will fold into the installed one without changing it), not the other
way around.
src/core/transaction.c