| Index: client/cmd/cipd/main.go
|
| diff --git a/client/cmd/cipd/main.go b/client/cmd/cipd/main.go
|
| index 94d63001d897c5a63973e8d61e6e92340c72182a..1dae9573d77e1597f54aa683efda84190a81ef07 100644
|
| --- a/client/cmd/cipd/main.go
|
| +++ b/client/cmd/cipd/main.go
|
| @@ -9,10 +9,13 @@
|
| package main
|
|
|
| import (
|
| + cryptorand "crypto/rand"
|
| + "encoding/binary"
|
| "encoding/json"
|
| "flag"
|
| "fmt"
|
| "io/ioutil"
|
| + "math/rand"
|
| "net/http"
|
| "os"
|
| "path/filepath"
|
| @@ -1671,5 +1674,11 @@ func fixFlagsPosition(args []string) []string {
|
| }
|
|
|
| func main() {
|
| + var seed int64
|
| + if err := binary.Read(cryptorand.Reader, binary.LittleEndian, &seed); err != nil {
|
| + panic(err)
|
| + }
|
| + rand.Seed(seed)
|
| +
|
| os.Exit(subcommands.Run(application, fixFlagsPosition(os.Args[1:])))
|
| }
|
|
|