From 2a7979caf72c37fe49d161e365450f6786c87765 Mon Sep 17 00:00:00 2001 From: Tortue Torche Date: Sat, 10 Aug 2019 23:11:55 -0400 Subject: [PATCH] Fix 'status' action --- psu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psu b/psu index 0d48431..d1688ea 100644 --- a/psu +++ b/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