Fix return from reload

This commit is contained in:
andrewheberle authored and GitHub committed 2018-05-14 10:58:46 +08:00
1 parent 675e2d25d6
commit 08d29a8342
1 file changed
+2 -2
+2 -2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.