We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8608e9c commit 070cd0fCopy full SHA for 070cd0f
deploy/truenas_ws.sh
@@ -121,7 +121,7 @@ _ws_check_jobid() {
121
# n/a
122
_ws_get_job_result() {
123
while true; do
124
- sleep 2
+ _sleep 2
125
_ws_response=$(_ws_call "core.get_jobs" "[[\"id\", \"=\", $1]]")
126
if [ "$(printf "%s" "$_ws_response" | jq -r '.[]."state"')" != "RUNNING" ]; then
127
_ws_result="$(printf "%s" "$_ws_response" | jq '.[]."result"')"
@@ -322,7 +322,7 @@ truenas_ws_deploy() {
322
_info "Restarting WebUI..."
323
_ws_response=$(_ws_call "system.general.ui_restart")
324
_info "Waiting for UI restart..."
325
- sleep 15
+ _sleep 15
326
327
########## Certificates
328
0 commit comments