xbps-bin: change yesno() in targets that use a transaction.
This commit is contained in:
parent
1bfb1ae028
commit
6228204a14
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user