xbps_transaction_prepare: if ENOSPC, keep the transaction dictionary.

... we need this in xbps-install to print required/free space on rootfs.

Close #101
This commit is contained in:
Juan RP
2015-06-20 09:48:21 +02:00
parent 5ebd4a6dfb
commit 00149d0f37
2 changed files with 4 additions and 2 deletions

View File

@@ -344,8 +344,6 @@ xbps_transaction_prepare(struct xbps_handle *xhp)
* and removed to the transaction dictionary.
*/
if ((rv = compute_transaction_stats(xhp)) != 0) {
xbps_object_release(xhp->transd);
xhp->transd = NULL;
return rv;
}
/*