Unverified Commit 08d29a83 authored by andrewheberle's avatar andrewheberle Committed by GitHub
Browse files

Fix return from reload

parent 675e2d25
...@@ -257,10 +257,10 @@ haproxy_deploy() { ...@@ -257,10 +257,10 @@ haproxy_deploy() {
eval "${_reload}" eval "${_reload}"
_ret=$? _ret=$?
if [ "${_ret}" != "0" ]; then if [ "${_ret}" != "0" ]; then
_info "Reload successful"
else
_err "Error code ${_ret} during reload" _err "Error code ${_ret} during reload"
return ${_ret} return ${_ret}
else
_info "Reload successful"
fi fi
return 0 return 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment