summaryrefslogtreecommitdiff
path: root/src/core/transaction.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-11-27 15:23:58 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-11-27 16:14:58 +0100
commitc21b92ffe7ef939dd32502ac912cf8ad1c5638fd (patch)
tree50469f4833aee9836d05efe9cd16c9d86b42d55b /src/core/transaction.h
parent0f84a72e3c0f58d71cff2121e6df1611eaf9c9ea (diff)
core: fix transaction destructiveness check once more
The previous fix e0312f4db "core: fix check for transaction destructiveness" broke test-engine (noticed by Zbyszek). Apparently I had a wrong idea of the intended semantics of --fail. The manpage says the operation should fail if it "conflicts with a pending job (more specifically: causes an already pending start job to be reversed into a stop job or vice versa)". So let's check job_type_is_conflicting, instead of !is_superset. This makes both test-engine and TEST-03-JOBS pass again.
Diffstat (limited to 'src/core/transaction.h')
0 files changed, 0 insertions, 0 deletions