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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue