diff --git a/examples/proxy-protocol/haproxy.sh b/examples/proxy-protocol/haproxy.sh index c279f0e..9428968 100755 --- a/examples/proxy-protocol/haproxy.sh +++ b/examples/proxy-protocol/haproxy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash [[ -f examples/proxy-protocol/haproxy.pid ]] && rm examples/proxy-protocol/haproxy.pid -fail() { echjo "$*"; exit 1; } +fail() { echo "$*"; exit 1; } set -x which haproxy || fail haproxy is missing