diff --git a/testWeb.sh b/testWeb.sh index 01680dd..420e2a9 100755 --- a/testWeb.sh +++ b/testWeb.sh @@ -2,12 +2,10 @@ echo "TEST HUGO" -$response = curl http://localhost:6060 -if ($reponse == "HTTP/1.1 200 OK") -{ - exit 0; -} +$response = "curl http://localhost:6060" +if [$reponse == "HTTP/1.1 200 OK"] +then + exit 0 else -{ - exit 1; -} + exit 1 +fi