From ee7cfefb071308c19f16f640e80e3fbd4cca554e Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Wed, 30 Mar 2022 11:19:15 +0100 Subject: [PATCH] updated aws_csv_creds.sh --- aws_csv_creds.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aws_csv_creds.sh b/aws_csv_creds.sh index fcdd86b4..a96869be 100755 --- a/aws_csv_creds.sh +++ b/aws_csv_creds.sh @@ -54,11 +54,11 @@ min_args 1 "$@" csv="$1" if ! [ -f "$csv" ]; then - die "File not found: $csv" + die "ERROR: File not found: $csv" fi if ! grep -Fq 'AKIA' "$csv"; then - die "Access Key not found in file '$csv'" + die "ERROR: Access Key not found in file '$csv'" fi # for CSV created at access key creation time @@ -75,5 +75,5 @@ elif tr -d '\r' < "$csv" | grep -Fxq 'User name,Password,Access key ID,Secret ac print "export AWS_SECRET_ACCESS_KEY="$4 }' "$csv" else - die "unrecognized CSV header line, may have changed so code may need an update" + die "ERROR: unrecognized CSV header line, may have changed so code may need an update" fi