mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
Fix return from reload
This commit is contained in:
parent
675e2d25d6
commit
08d29a8342
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user