xbps-install: fflush before asking for confirmation

Closes #469
This commit is contained in:
Michal Vasilek 2022-02-20 21:37:49 +01:00 committed by Duncan Overbruck
parent 0158000c03
commit d3b55df51b

View File

@ -419,6 +419,8 @@ proceed:
*/ */
if ((rv = show_transaction_sizes(trans, maxcols)) != 0) if ((rv = show_transaction_sizes(trans, maxcols)) != 0)
goto out; goto out;
fflush(stdout);
/* /*
* Ask interactively (if -y not set). * Ask interactively (if -y not set).
*/ */