Sfoglia il codice sorgente

update for POSIX compliance

Daniel Watrous 7 anni fa
parent
commit
afe5cb588d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      deploy/haproxy.sh

+ 1 - 1
deploy/haproxy.sh

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