Chromium Code Reviews| Index: client/cmd/cipd/main.go |
| diff --git a/client/cmd/cipd/main.go b/client/cmd/cipd/main.go |
| index 94d63001d897c5a63973e8d61e6e92340c72182a..47e15cc424cabf9ce2fbb3390ce5e7d80fecf49c 100644 |
| --- a/client/cmd/cipd/main.go |
| +++ b/client/cmd/cipd/main.go |
| @@ -13,6 +13,7 @@ import ( |
| "flag" |
| "fmt" |
| "io/ioutil" |
| + "math/rand" |
| "net/http" |
| "os" |
| "path/filepath" |
| @@ -1671,5 +1672,6 @@ func fixFlagsPosition(args []string) []string { |
| } |
| func main() { |
| + rand.Seed(time.Now().Unix()) |
|
Vadim Sh.
2016/04/11 16:52:03
I was bit in the ass by this construct. Multiple p
nodir
2016/04/11 22:16:16
Done.
|
| os.Exit(subcommands.Run(application, fixFlagsPosition(os.Args[1:]))) |
| } |