diff --git a/cmd/root.go b/cmd/root.go index 9b4d781..0abfd43 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -3,8 +3,10 @@ package cmd import ( "fmt" "log" + "math/rand" "os" "strings" + "time" "git.bloy.org/mike/hasshelper/web" "github.com/rs/zerolog" @@ -95,4 +97,5 @@ func initConfig() { os.Exit(1) } } + rand.Seed(time.Now().UnixNano()) }