diff --git a/cmd/soong_ui/main.go b/cmd/soong_ui/main.go index 2770094e3..3d18849b9 100644 --- a/cmd/soong_ui/main.go +++ b/cmd/soong_ui/main.go @@ -489,11 +489,7 @@ func runMake(ctx build.Context, config build.Config, _ []string, logsDir string) fmt.Fprintln(writer, "!") fmt.Fprintln(writer, "! Older versions are saved in verbose.log.#.gz files") fmt.Fprintln(writer, "") - select { - case <-time.After(5 * time.Second): - case <-ctx.Done(): - return - } + ctx.Fatal("done") } if _, ok := config.Environment().Get("ONE_SHOT_MAKEFILE"); ok {