mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Fix 'status' action
This commit is contained in:
parent
ae55db2675
commit
2a7979caf7
2
psu
2
psu
@ -207,7 +207,7 @@ main() {
|
||||
# Tasks should not have one of these states:
|
||||
# 'failed', 'orphaned', 'remove'
|
||||
|
||||
timeout -t $TIMEOUT bash -c "until (export DEBUG_MODE=false && export VERBOSE_MODE=false && psu -a tasks:healthy -q) >/dev/null 2>&1; do echo -n \$(if [ \"\$VERBOSE_MODE\" == \"true\" ]; then echo -n .; fi) && sleep 1; done;"
|
||||
timeout -t $TIMEOUT bash -c "until (export PORTAINER_SERVICE_NAME=$PORTAINER_SERVICE_NAME && export DEBUG_MODE=false && export VERBOSE_MODE=false && psu -a tasks:healthy -q) >/dev/null 2>&1; do echo -n \$(if [ \"\$VERBOSE_MODE\" == \"true\" ]; then echo -n .; fi) && sleep 1; done;"
|
||||
status=$?
|
||||
|
||||
if $(exit $status); then
|
||||
|
Loading…
Reference in New Issue
Block a user