From 380e1620496129b98585005064045df84b5170c9 Mon Sep 17 00:00:00 2001 From: Uma Shankar <105194801+vanamumashankar@users.noreply.github.com> Date: Sun, 31 May 2026 13:33:30 +0530 Subject: [PATCH] Update create_ec2.sh --- day03/create_ec2.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/day03/create_ec2.sh b/day03/create_ec2.sh index cb55720..981d753 100644 --- a/day03/create_ec2.sh +++ b/day03/create_ec2.sh @@ -4,8 +4,9 @@ set -euo pipefail check_awscli() { if ! command -v aws &> /dev/null; then echo "AWS CLI is not installed. Please install it first." >&2 - exit 1 + return 1 fi + return 0 } install_awscli() {