diff --git a/check_haproxy_syntax.sh b/check_haproxy_syntax.sh index f6cb2fe..d40a16d 100755 --- a/check_haproxy_syntax.sh +++ b/check_haproxy_syntax.sh @@ -45,7 +45,7 @@ test_haproxy_conf(){ #if haproxy -v | grep -Eqi '^HA-?Proxy version (1|2\.[01])'; then if [ "$(bc <<< "$haproxy_version < 2.2")" = 1 ]; then if grep -q '^[[:space:]]*http-check send meth' "$cfg"; then - echo "$str: Skipping due to old HAProxy version not supporting 'http-check send meth'" + echo "$str Skipping due to old HAProxy version not supporting 'http-check send meth'" return fi fi