fix: reload mon state before progress_finish (cross-process done/total)

This commit is contained in:
Hernâni Marques 2026-07-19 02:35:37 +02:00
parent 74e76aff2c
commit 1f1277b36a
No known key found for this signature in database
GPG key ID: CB5738652768F7E9

View file

@ -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