From 2f180d1a4b33ceed6d8aa411c75f2da7f778a699 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 27 Jul 2022 15:34:00 -0600 Subject: [PATCH] remove for loop --- functions/update_apps.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 05e62519..88018f7d 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -32,9 +32,10 @@ do elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish sleep 3 else # All processes must be completed, break out of loop - for proc in "${processes[@]}"; do - wait "$proc" - done + # Unessesary for loop. since processes have to be completed before getting to this point, it is unlikely we would ever have to wait on processes.. Will test more. + # for proc in "${processes[@]}"; do + # wait "$proc" + # done break fi done