From d0a53e97cbccf26e399ab412fca808d82654f03a Mon Sep 17 00:00:00 2001 From: Jay Koby <297441+jkoby@users.noreply.github.com> Date: Tue, 1 Jun 2021 16:36:38 -0400 Subject: [PATCH] expand curl flags to longer versions --- splunk/common-files/checkstate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/splunk/common-files/checkstate.sh b/splunk/common-files/checkstate.sh index 549aedab..19c2d276 100755 --- a/splunk/common-files/checkstate.sh +++ b/splunk/common-files/checkstate.sh @@ -33,7 +33,7 @@ if [[ "" == "$NO_HEALTHCHECK" ]]; then case "$state" in running|started) - curl -m 30 -f -k $SCHEME://localhost:8089/ + curl --max-time 30 --fail --insecure $SCHEME://localhost:8089/ exit $? ;; *)