From cf2f5000ee4f19ce8d912c3f82e3232776f159ab Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 27 Jul 2022 15:23:56 -0600 Subject: [PATCH] test --- functions/update_apps.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index a856a945..05e62519 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -32,7 +32,9 @@ do elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish sleep 3 else # All processes must be completed, break out of loop - wait "${processes[*]}" + for proc in "${processes[@]}"; do + wait "$proc" + done break fi done