From 955091a0be4d24d58a53efe2de62544798f71f2a Mon Sep 17 00:00:00 2001 From: Gladys Garcia Date: Fri, 25 Oct 2019 10:10:49 -0700 Subject: [PATCH] Fatally exit if startup errors out --- cmd/aws-env/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/aws-env/main.go b/cmd/aws-env/main.go index e1b2063..9d961a4 100644 --- a/cmd/aws-env/main.go +++ b/cmd/aws-env/main.go @@ -219,6 +219,6 @@ func invoke(r *awsenv.Replacer, prog string, args []string) error { func main() { if err := app.Run(os.Args); err != nil { - log.WithError(err).Errorf("%s failed to start", app.Name) + log.WithError(err).Fatalf("%s failed to start", app.Name) } }