Browse Source

update for POSIX compliance

Daniel Watrous 7 years ago
parent
commit
afe5cb588d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deploy/haproxy.sh

+ 1 - 1
deploy/haproxy.sh

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