From 2f74fc98c0c27444680e9b3793a1a4e024cd3702 Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Sun, 23 Jun 2013 04:15:28 -0700 Subject: [PATCH] try and figure out why it silently fails --- tests/run_ec2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run_ec2 b/tests/run_ec2 index 7f9c0287e..612aa13e1 100755 --- a/tests/run_ec2 +++ b/tests/run_ec2 @@ -5,8 +5,8 @@ indent() { sed "s/^/ /"; } echo "-----> Booting EC2 instance..." start=$(ec2-run-instances -k $1 ami-f3d1bb9a 2>&1 ) if [[ $? > 0 ]]; then - echo "$start" - exit + echo "$start" | indent + exit 3 fi INSTANCE=$(echo "$start" | awk '/^INSTANCE/ {print $2}') terminate() {