Commit f8c11a32 authored by F-Plass's avatar F-Plass
Browse files

Update truenas.sh

parent 052c9be1
...@@ -187,7 +187,7 @@ truenas_deploy() { ...@@ -187,7 +187,7 @@ truenas_deploy() {
_ret=$? _ret=$?
_debug2 CURL_RETURN "$_ret" _debug2 CURL_RETURN "$_ret"
if [ -n "$_add_cert_result" ] && [ -n "$_activate_result" ] && [ "$_ret" == "52" ]; then if [ -n "$_add_cert_result" ] && [ -n "$_activate_result" ] && [ "$_ret" = "52" ]; 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 "Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: $_ret"
......
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