Skip to content

Commit e6cb789

Browse files
authored
Return if we can't handle the transaction role
Resolves: #42, #41
1 parent 73d84e3 commit e6cb789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transactionprivate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void TransactionPrivate::runQueuedTransaction()
185185
reply = p->UpgradeSystem(transactionFlags, upgradeDistroId, upgradeKind);
186186
break;
187187
default:
188-
break;
188+
return;
189189
}
190190

191191
if (reply.isFinished() && reply.isError()) {

0 commit comments

Comments
 (0)