Abort transaction if there's not enough free space on disk.

Close #7.
This commit is contained in:
Juan RP committed 2014-07-13 11:45:04 +02:00
1 parent 79fe312302
commit 4356b6fd65
4 files changed
+40 -5

No files matched your search

+2
View File
@@ -1121,6 +1121,8 @@ int xbps_transaction_autoremove_pkgs(struct xbps_handle *xhp);
* array of strings object in xhp->transd dictionary).
* @retval EAGAIN if there are package conflicts in transaction ("conflicts"
* array of strings object in xhp->transd dictionary).
* @retval ENOSPC Not enough free space on target rootdir to continue with the
* transaction.
* @retval EINVAL There was an error sorting packages or computing the transaction
* sizes.
*/