Skip to content

Commit

Permalink
fix passthrough of flag -failfast
Browse files Browse the repository at this point in the history
  • Loading branch information
barnex committed Sep 16, 2016
1 parent 8101aae commit ca78681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mumax3/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func run(inFile string, gpu int, webAddr string) {
// pass through flags
flags := []string{gpuFlag, httpFlag}
flag.Visit(func(f *flag.Flag) {
if f.Name != "gpu" && f.Name != "http" {
if f.Name != "gpu" && f.Name != "http" && f.Name != "failfast" {
flags = append(flags, fmt.Sprintf("-%v=%v", f.Name, f.Value))
}
})
Expand Down

0 comments on commit ca78681

Please sign in to comment.