Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Code to match with deployed script #116

Merged
merged 1 commit into from May 17, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update GitHub Code to match with deployed script

  • Loading branch information
root
root committed May 16, 2018
commit da386a6610de0b31d90025e5e55e03a1db1dc88a
@@ -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."
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.