From b567ac25ead6f5972780d83b4c94089f1ddfeadd Mon Sep 17 00:00:00 2001 From: dogi Date: Wed, 24 Jul 2024 23:00:05 -0400 Subject: [PATCH] Update down.sh --- src/aws/down.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aws/down.sh b/src/aws/down.sh index ce8dcac0..31a4f0c5 100755 --- a/src/aws/down.sh +++ b/src/aws/down.sh @@ -15,8 +15,8 @@ function down(){ instanceId=$(getValueByAttribute $balloonName instanceId) if [ "$instanceId" = "null" ]; then - echo "$balloonName is already deleted" - exit 1 + echo "$balloonName does not exist" + exit 0 fi keyName=$(getValueByAttribute $balloonName key)