From a9d16372ce22d5ebfe9390a202a01a6a60ba45ee Mon Sep 17 00:00:00 2001 From: hiroTochigi Date: Thu, 25 Jul 2024 04:59:33 +0100 Subject: [PATCH] fix variable name --- src/aws/up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aws/up.sh b/src/aws/up.sh index ad165874..12f80cad 100644 --- a/src/aws/up.sh +++ b/src/aws/up.sh @@ -15,7 +15,7 @@ checkKeyName() { for key in "${key_pairs[@]}" do - if [ "$key" == "$keyName" ]; then + if [ "$key" == "$keyname" ]; then echo "Error: Key Pair '$key' matches the specified keyName '$keyName'. Exiting..." exit 1 fi