Skip to content

Commit

Permalink
Adressing Derek's comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Ricart committed Oct 8, 2016
1 parent d44802f commit a4b7aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nats-bench.go
Expand Up @@ -47,7 +47,7 @@ func main() {
usage()
}

if *numMsgs < 1 {
if *numMsgs <= 0 {
log.Fatal("Number of messages should be greater than zero.")
}

Expand Down

0 comments on commit a4b7aad

Please sign in to comment.