package_daemon: Actually return transaction errors instead of OK always.
This "fixes" #10959, though now the varying potential causes of that will now print actual errors earlier instead of the error message in that ticket.
This commit is contained in:
@@ -1373,7 +1373,7 @@ Volume::_CommitTransaction(BMessage* message,
|
||||
error = B_TRANSACTION_NO_MEMORY;
|
||||
}
|
||||
|
||||
_result.SetError(B_TRANSACTION_OK);
|
||||
_result.SetError(error);
|
||||
|
||||
// revert on error
|
||||
if (error != B_TRANSACTION_OK)
|
||||
|
||||
Reference in New Issue
Block a user