Skip to content

Commit

Permalink
updated check_haproxy_syntax.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 14, 2025
1 parent 75a9ff4 commit 3e94cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_haproxy_syntax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e94cb6

Please sign in to comment.