Merge pull request #503 from Morganamilo/fix#502

Correctly handle AUR providers during noconfirm
This commit is contained in:
Anna authored and GitHub committed 2018-06-19 22:25:27 +01:00
commit da466ba8bf
1 file changed
+2 -2
+2 -2
View File
@@ -595,8 +595,8 @@ func providerMenu(dep string, providers providers) *rpc.Pkg {
fmt.Print("\nEnter a number (default=1): ")
if config.NoConfirm {
fmt.Println()
break
fmt.Println("1")
return providers.Pkgs[0]
}
reader := bufio.NewReader(os.Stdin)