Browse Source

Fix return from reload

dnsconf
andrewheberle 7 years ago
committed by GitHub
parent
commit
08d29a8342
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      deploy/haproxy.sh

4
deploy/haproxy.sh

@ -257,10 +257,10 @@ haproxy_deploy() {
eval "${_reload}"
_ret=$?
if [ "${_ret}" != "0" ]; then
_info "Reload successful"
else
_err "Error code ${_ret} during reload"
return ${_ret}
else
_info "Reload successful"
fi
return 0

Loading…
Cancel
Save