update for POSIX compliance

pull/1584/head
Daniel Watrous 7 years ago committed by GitHub
parent e9e999542d
commit afe5cb588d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save