From 5143caa6b968caaff7fdfff3a547d90b51adb192 Mon Sep 17 00:00:00 2001 From: khelia Date: Thu, 3 Dec 2020 19:37:09 +0100 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index e070513..f81f1b2 100644 --- a/test.sh +++ b/test.sh @@ -1,4 +1,4 @@ -HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` +HTTPCODE=echo $(`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` | tr -d ' ') if [ "$HTTPCODE" -ne 200 ];then echo "heroku app not responding, failing deploy" exit 1