tools: repro: fix vm count calculation

This commit is contained in:
Andrey Konovalov 2017-06-07 16:20:53 +02:00
parent c2907101f0
commit d8ff00bacc

View File

@ -49,7 +49,7 @@ func main() {
Fatalf("%v", err)
}
vmCount := vmPool.Count()
if *flagCount > 0 || *flagCount < vmCount {
if *flagCount > 0 {
vmCount = *flagCount
}
if vmCount > 4 {