diff --git a/main.go b/main.go index e235c92..6563873 100644 --- a/main.go +++ b/main.go @@ -36,7 +36,11 @@ func LaunchProcess(proc *config.Process) { stdout, err := proc.ExecCmd.StdoutPipe(); LaunchLogger(stdout, os.Stdout, err) - proc.ExecCmd.Start() + err = proc.ExecCmd.Start() + if err != nil { + log.Fatalf("FAIL %s %s err=%v", proc.Command, proc.URL, err) + } + fmt.Println("WAITING for", proc.URL) fmt.Println("SENDING READY on channel") diff --git a/tools/cmd/tester/main.go b/tools/cmd/tester/main.go index e30b0e2..b8917b7 100644 --- a/tools/cmd/tester/main.go +++ b/tools/cmd/tester/main.go @@ -62,6 +62,7 @@ func Supervisor(id int, count int) { func main() { count := flag.Int("count", 10, "Seconds to wait") + id := flag.Int("id", 1, "Tester ID to use.") flag.Parse()