mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Revert "Fix case where pacman asks for confirmation when it should not"
yesno function already handles noconfirm. No need to do it twice.
This reverts commit dffa0654f2
.
This commit is contained in:
parent
fd86c62db8
commit
307f4d7301
@ -155,8 +155,7 @@ int pacman_remove(alpm_list_t *targets)
|
||||
list_display(_("Targets:"), lst);
|
||||
FREELIST(lst);
|
||||
/* get confirmation */
|
||||
if(!config->noconfirm
|
||||
&& yesno(_("\nDo you want to remove these packages? [Y/n] ")) == 0) {
|
||||
if(yesno(_("\nDo you want to remove these packages? [Y/n] ")) == 0) {
|
||||
remove_cleanup();
|
||||
FREELIST(finaltargs);
|
||||
return(1);
|
||||
|
Loading…
Reference in New Issue
Block a user