diff --git a/test.sh b/test.sh index f81f1b2..e070513 100644 --- a/test.sh +++ b/test.sh @@ -1,4 +1,4 @@ -HTTPCODE=echo $(`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` | tr -d ' ') +HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` if [ "$HTTPCODE" -ne 200 ];then echo "heroku app not responding, failing deploy" exit 1