xbps-install: in dry run mode, print transaction even when disk is full
Closes: #322 [via git-merge-pr]
This commit is contained in:
parent
024c4cc75d
commit
379cd4da2c
@ -380,12 +380,16 @@ exec_transaction(struct xbps_handle *xhp, unsigned int maxcols, bool yes, bool d
|
||||
}
|
||||
fprintf(stderr, "Transaction aborted due to insufficient disk "
|
||||
"space (need %s, got %s free).\n", instsize, freesize);
|
||||
if (drun) {
|
||||
goto proceed;
|
||||
}
|
||||
} else {
|
||||
xbps_dbg_printf(xhp, "Empty transaction dictionary: %s\n",
|
||||
strerror(errno));
|
||||
}
|
||||
goto out;
|
||||
}
|
||||
proceed:
|
||||
#ifdef FULL_DEBUG
|
||||
xbps_dbg_printf(xhp, "Dictionary before transaction happens:\n");
|
||||
xbps_dbg_printf_append(xhp, "%s",
|
||||
|
Loading…
Reference in New Issue
Block a user