Fixed out-of-range in Number Menu

This commit is contained in:
Jguer 2017-04-10 00:22:00 +01:00
parent 55bb41996a
commit 47a061315e

View file

@ -121,7 +121,10 @@ func main() {
err = yay.SyncInfo(pkgs, options)
case "yogurt":
util.SearchVerbosity = util.NumberMenu
if pkgs != nil {
err = yay.NumberMenu(pkgs, options)
}
default:
err = yay.PassToPacman(op, pkgs, options)
}