We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
noconfirm
1 parent cc90b17 commit ad0d2a2Copy full SHA for ad0d2a2
trizen
@@ -909,7 +909,7 @@ sub execute_pacman_command ($needs_root, @cmd) {
909
}
910
911
note(":: Exit code: " . exit_code()) if $lconfig{debug};
912
- $term->ask_yn(prompt => "$c{bold}=>> Try again?$c{reset}", default => 'y') and redo;
+ $term->ask_yn(prompt => "$c{bold}=>> Try again?$c{reset}", default => ($lconfig{noconfirm} ? 'n' : 'y')) and redo;
913
914
915
0 commit comments