From 5d17035dffb7c71b99cd8a6e333cd5b317cc39b1 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Sun, 24 Jul 2022 22:26:43 -0600 Subject: [PATCH] wait --- functions/update_apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 5284beab..c28f9f55 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -16,7 +16,7 @@ count=0 while [[ "$count" -ge "$update_limit" ]] do echo "waiting for free space" - wait + wait -n "${processes[@]}" count=0 done done