Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Jul 25, 2024
1 parent 8f14681 commit a9d1637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9d1637

Please sign in to comment.