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