diff --git a/testWeb.sh b/testWeb.sh index 40cc6ef..b9aa384 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -3,7 +3,7 @@ echo "TEST HUGO" url=http://localhost:6060 curl ${url} -I -o headers -s -if((cat headers | head -n 1 | cut '-d ' '-f2')=="200") +if("(cat headers | head -n 1 | cut '-d ' '-f2')"=="200") then exit 0 fi