mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 23:11:44 +00:00
Update truenas.sh
-error handling
This commit is contained in:
parent
eacc00f786
commit
4bb8e3a121
@ -187,10 +187,10 @@ truenas_deploy() {
|
|||||||
_info "See Bugreport: https://jira.ixsystems.com/browse/NAS-109435"
|
_info "See Bugreport: https://jira.ixsystems.com/browse/NAS-109435"
|
||||||
_debug2 _restart_UI "$_restart_UI"
|
_debug2 _restart_UI "$_restart_UI"
|
||||||
|
|
||||||
if [ -n "$_add_cert_result" ] && [ -n "$_activate_result" ] && [ "$_ret" = "52" ]; then
|
if [ -n "$_add_cert_result" ] && [ -n "$_activate_result" ]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
_err "Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: $_ret"
|
_err "Certupdate was not succesfull, please use --debug"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user