xbps-bin: change yesno() in targets that use a transaction.

This commit is contained in:
Juan RP 2012-05-31 08:03:54 +02:00
parent 1bfb1ae028
commit 6228204a14

View File

@ -403,7 +403,7 @@ exec_transaction(bool yes, bool dry_run, bool show_download_urls)
/* /*
* Ask interactively (if -y not set). * Ask interactively (if -y not set).
*/ */
if (!yes && !noyes("Do you want to continue?")) { if (!yes && !yesno("Do you want to continue?")) {
printf("Aborting!\n"); printf("Aborting!\n");
goto out; goto out;
} }