Unverified Commit afe5cb58 authored by Daniel Watrous's avatar Daniel Watrous Committed by GitHub
Browse files

update for POSIX compliance

parent e9e99954
...@@ -22,7 +22,7 @@ haproxy_deploy() { ...@@ -22,7 +22,7 @@ haproxy_deploy() {
# handle reload preference # handle reload preference
DEFAULT_HAPROXY_RELOAD="/usr/sbin/service haproxy restart" DEFAULT_HAPROXY_RELOAD="/usr/sbin/service haproxy restart"
if [[ -z "${DEPLOY_HAPROXY_RELOAD}" ]]; then if [ -z "${DEPLOY_HAPROXY_RELOAD}" ]; then
_reload="${DEFAULT_HAPROXY_RELOAD}" _reload="${DEFAULT_HAPROXY_RELOAD}"
_cleardomainconf DEPLOY_HAPROXY_RELOAD _cleardomainconf DEPLOY_HAPROXY_RELOAD
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment