Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
4bb8e3a1
Commit
4bb8e3a1
authored
Feb 21, 2021
by
F-Plass
Browse files
Update truenas.sh
-error handling
parent
eacc00f7
Changes
1
Show whitespace changes
Inline
Side-by-side
deploy/truenas.sh
View file @
4bb8e3a1
...
@@ -187,10 +187,10 @@ truenas_deploy() {
...
@@ -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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment