From 7da64d77c1e0e60e31f4909bceb9cfb3203e3dc5 Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Sun, 23 Jun 2013 04:11:59 -0700 Subject: [PATCH] capture stderr to show errors on failure --- tests/run_ec2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_ec2 b/tests/run_ec2 index e104f7a16..7f9c0287e 100755 --- a/tests/run_ec2 +++ b/tests/run_ec2 @@ -3,7 +3,7 @@ set -e KEYNAME="$1" indent() { sed "s/^/ /"; } echo "-----> Booting EC2 instance..." -start=$(ec2-run-instances -k $1 ami-f3d1bb9a 2>/dev/null) +start=$(ec2-run-instances -k $1 ami-f3d1bb9a 2>&1 ) if [[ $? > 0 ]]; then echo "$start" exit