From bb8b1c3cbcd37c3581864034d877b9ee2cba1678 Mon Sep 17 00:00:00 2001 From: Guslington Date: Wed, 20 Mar 2019 10:19:20 +1100 Subject: [PATCH] bug fix for to_stdout --- aws-env.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws-env.go b/aws-env.go index d2aa95e..565bc95 100644 --- a/aws-env.go +++ b/aws-env.go @@ -44,9 +44,9 @@ func main() { ExportVariables(path, "", params) } - evalStdout := strings.ToLower(os.Getenv("EVAL_STDOUT")) + toStdout := strings.ToLower(os.Getenv("TO_STDOUT")) - if evalStdout == "true" { + if toStdout == "true" { ParametersToStdout(params) } else { ParametersToFile(params)