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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user