mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
capture stderr to show errors on failure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user