Skip to content

Commit

Permalink
fix username collision
Browse files Browse the repository at this point in the history
  • Loading branch information
wiggin77 committed Jun 5, 2022
1 parent 85f7ef9 commit 56f21c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"os"
"os/signal"
"strings"
"sync"
"sync/atomic"
"syscall"
Expand Down Expand Up @@ -143,7 +144,7 @@ func run(ri *runInfo) {
for i := 0; i < ri.cfg.UserCount; i++ {
wg.Add(1)

username := makeName(".")
username := strings.ToLower(makeName("."))

go func(u string) {
defer wg.Done()
Expand Down

0 comments on commit 56f21c9

Please sign in to comment.