From 1f1277b36a1408f5ae83472aab06c99fccb17a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hern=C3=A2ni=20Marques?= Date: Sun, 19 Jul 2026 02:35:37 +0200 Subject: [PATCH] fix: reload mon state before progress_finish (cross-process done/total) --- taler-monitoring.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/taler-monitoring.sh b/taler-monitoring.sh index 5db2872..7c0bce2 100755 --- a/taler-monitoring.sh +++ b/taler-monitoring.sh @@ -580,7 +580,11 @@ if [ "$RUN_TIMED_OUT" = "1" ]; then "$RUN_TIMEOUT" "$elapsed" fi -# Snap progress bar to real global count (done/total) once for the whole run +# Snap progress bar to real global count (done/total) once for the whole run. +# Reload TALER_MON_STATE — check_*.sh update done/total in a separate process. +if type _mon_state_load >/dev/null 2>&1; then + _mon_state_load +fi if type progress_finish >/dev/null 2>&1; then printf '\n' progress_finish