update for POSIX compliance

This commit is contained in:
Daniel Watrous
2018-05-04 10:25:54 -05:00
committed by GitHub
parent e9e999542d
commit afe5cb588d

View File

@ -22,7 +22,7 @@ haproxy_deploy() {
# handle reload preference
DEFAULT_HAPROXY_RELOAD="/usr/sbin/service haproxy restart"
if [[ -z "${DEPLOY_HAPROXY_RELOAD}" ]]; then
if [ -z "${DEPLOY_HAPROXY_RELOAD}" ]; then
_reload="${DEFAULT_HAPROXY_RELOAD}"
_cleardomainconf DEPLOY_HAPROXY_RELOAD
else