BDaemonClient::CommitTransaction(): Align with documentation

The method is supposed to return B_OK as long as the _result object has
been initialized, even if committing the transaction failed. Fixes the
unhelpful error messages of pkgman when committing the transaction
failed for some reason.
This commit is contained in:
Ingo Weinhold
2013-10-22 01:12:02 +02:00
parent 30794c2d79
commit df266f1c93
2 changed files with 38 additions and 55 deletions
-4
View File
@@ -60,10 +60,6 @@ private:
status_t _ExtractPackageInfoSet(const BMessage& message,
const char* field, BPackageInfoSet& _infos);
status_t _CommitTransaction(
const BActivationTransaction& transaction,
BCommitTransactionResult& _result);
private:
BMessenger fDaemonMessenger;
};