From da386a6610de0b31d90025e5e55e03a1db1dc88a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 16 May 2018 07:54:50 +0000 Subject: [PATCH] Update GitHub Code to match with deployed script --- Linux Script/update-loggly-certificate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux Script/update-loggly-certificate.sh b/Linux Script/update-loggly-certificate.sh index a7a6ead..33137ef 100644 --- a/Linux Script/update-loggly-certificate.sh +++ b/Linux Script/update-loggly-certificate.sh @@ -303,7 +303,7 @@ checkIfLogglyServersAccessible() fi echo "INFO: Checking if '$LOGGLY_ACCOUNT' subdomain is valid." - if [ $(curl -s --head --request GET $LOGGLY_ACCOUNT_URL/login | grep "200 OK" | wc -l) == 1 ]; then + if [ $(curl -s --head --request GET $LOGGLY_ACCOUNT_URL/login | grep "200" | wc -l) == 1 ]; then echo "INFO: $LOGGLY_ACCOUNT_URL is valid and reachable." else logMsgToConfigSysLog "ERROR" "ERROR: This is not a recognized subdomain. Please ask the account owner for the subdomain they signed up with."